Skip to content

feat: add GitHub Release step to publish workflow#62

Merged
dgenio merged 2 commits intomainfrom
feat/publish-github-release
Mar 14, 2026
Merged

feat: add GitHub Release step to publish workflow#62
dgenio merged 2 commits intomainfrom
feat/publish-github-release

Conversation

@dgenio
Copy link
Owner

@dgenio dgenio commented Mar 9, 2026

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:

  • Split the previous publish job into three jobs: build, release, and publish in .github/workflows/publish.yml, enabling artifact upload, GitHub Release creation, and sequential publishing to PyPI. [1] [2]
  • Added steps to upload build artifacts after building, download artifacts for release and publish jobs, and attach artifacts to the GitHub Release.

Release automation:

  • Added a GitHub Release step to the workflow, which creates a release with auto-generated notes and attaches build artifacts before publishing to PyPI. [1] [2]

Documentation updates:

  • Updated RELEASE.md to describe the new workflow steps, including the GitHub Release and artifact handling.
  • Added a note to CHANGELOG.md about the new GitHub Release step in the publish workflow.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml into build, release, and publish jobs 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.

@dgenio dgenio merged commit 51198b4 into main Mar 14, 2026
3 checks passed
@dgenio dgenio deleted the feat/publish-github-release branch March 14, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants