You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "grundprinzip (via GitHub)" <gi...@apache.org> on 2025/08/14 15:35:12 UTC
[PR] [FEAT]Create Script to Automate Release [spark-connect-go]
grundprinzip opened a new pull request, #160:
URL: https://github.com/apache/spark-connect-go/pull/160
### What changes were proposed in this pull request?
I've created a comprehensive Apache release script with the following features:
Files Created:
1. dev/release.py - Main release script with all requested functionality
2. dev/requirements.txt - Python dependencies
3. dev/README.md - Usage documentation
#### Script Features:
✅ Tag Management: Creates and pushes Git tags based on specified commit✅ GitHub Release: Creates draft releases
using GitHub API✅ Release Notes: Auto-generates notes from commits between tags, with interactive editing✅
Pre-release Support: Optional pre-release flag✅ Artifact Download: Downloads GitHub's auto-generated source
archives✅ GPG Signing: Creates detached signatures for all artifacts✅ Signature Verification: Verifies all
signatures before upload✅ Error Handling: Comprehensive error handling and validation
#### Key Dependencies:
- requests - For HTTP requests to download artifacts
- PyGithub - For GitHub API interactions
- gitpython - For Git operations and commit history
#### Usage Example:
```
cd dev
python -m venv venv && source venv/bin/activate
pip install -r requirements.txt
export GITHUB_TOKEN=your_token_here
./release.py \
--tag v0.2.0 \
--prev-tag v0.1.0 \
--commit abc123def456 \
--gpg-user your.email@example.com \
--prerelease # optional
```
### Why are the changes needed?
CI
### Does this PR introduce _any_ user-facing change?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
Re: [PR] [FEAT]Create Script to Automate Release [spark-connect-go]
Posted by "grundprinzip (via GitHub)" <gi...@apache.org>.
grundprinzip merged PR #160:
URL: https://github.com/apache/spark-connect-go/pull/160
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org