Repository navigation
Create GitHub Releases from the release workflow - #165
Merged
Merged
Conversation
The release workflow only published to PyPI, so v2.0.1 and v2.1.0 got tags but no GitHub Release (2.0.0 had been created by hand). After the PyPI upload, extract the version's section from CHANGELOG.rst, convert it to Markdown, and create the release with the sdist/wheel attached and GitHub's generated notes (contributors, full changelog link) appended. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The changelog to Markdown conversion moves from an inline Python heredoc in release.yml to an `invoke release-notes` task in tasks.py, next to the other changelog tooling. It can now be run locally to preview the notes. The conversion now fails on lines it cannot convert (paragraphs, text outside a group) and on sections without entries, instead of silently dropping them. Nested bullets are kept. The notes are extracted before building and publishing, so a missing or broken changelog section stops the release before it reaches PyPI. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
MatthijsBurgh
approved these changes
Nov 10, 2026
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.
The release workflow only uploaded to PyPI, so
v2.0.1andv2.1.0got tags and PyPI releases but no GitHub Release. The 2.0.0 Release was created by hand.After the PyPI upload, the workflow now handles the GH release creation automatically.