feat: add GitHub Release step to publish workflow#62
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enhances the tag-based publish workflow by splitting build/release/publish responsibilities, persisting built distributions as artifacts, and creating a GitHub Release (with autogenerated notes) before publishing to PyPI.
Changes:
- Split
.github/workflows/publish.ymlintobuild,release, andpublishjobs with artifact upload/download between jobs. - Added a GitHub Release creation step that attaches built distribution artifacts and auto-generates release notes.
- Updated release process docs and changelog to reflect the new workflow behavior.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/publish.yml |
Splits publishing into build/release/publish jobs; adds artifact handling and GitHub Release creation step. |
RELEASE.md |
Updates the documented “CI takes over” steps to include GitHub Release creation before PyPI publish. |
CHANGELOG.md |
Notes the addition of the GitHub Release step in the publish workflow under Unreleased. |
You can also share your feedback on Copilot code review. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the release workflow to improve artifact handling and add automated GitHub Releases. The workflow now builds and uploads artifacts, creates a GitHub Release with attached artifacts and release notes, and then publishes to PyPI. Documentation has been updated to reflect these changes.
Workflow enhancements:
publishjob into three jobs:build,release, andpublishin.github/workflows/publish.yml, enabling artifact upload, GitHub Release creation, and sequential publishing to PyPI. [1] [2]Release automation:
Documentation updates:
RELEASE.mdto describe the new workflow steps, including the GitHub Release and artifact handling.CHANGELOG.mdabout the new GitHub Release step in the publish workflow.