-
Notifications
You must be signed in to change notification settings - Fork 223
CI: Upload wheels to release artifacts and auto-create release drafts #873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tifacts Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Implemented auto-creation of release drafts as requested in #622. The release workflow now:
This improves the UX by eliminating the manual step of creating release drafts before running the workflow. Commit: 509d596 |
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
leofang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll know if this works next time we release!
This PR extends the release workflow to automatically upload wheels to GitHub release artifacts and improves the release UX by auto-creating release drafts, addressing both the backup solution requested in #742 and the workflow enhancement requested in #622.
Changes Made
1. Created Shared Wheel Download Script
Added
ci/tools/download-wheelsthat encapsulates the wheel downloading logic previously inline inrelease.yml. The script:*-testspatterns)2. Extended
release-upload.ymlWorkflowEnhanced the existing release upload workflow to optionally download and upload wheels:
run-idandcomponentinputs (maintains backward compatibility)3. Refactored
release.ymlWorkflowUpdated the main release workflow to leverage the new functionality:
upload-archivejob call to passrun-idandcomponentparameters for wheel archivingpublish-wheelsjob to use the shared script instead of duplicated inline logic4. Auto-create Release Drafts (Issue #622)
Enhanced the release workflow to improve UX by automatically creating release drafts:
gh release create --draftBehavior
Testing
The implementation includes comprehensive testing:
This provides the requested backup solution for publicly released wheels and improved release workflow UX while maintaining all existing functionality and following the principle of minimal, surgical changes.
Fixes #742 and addresses #622.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.