Skip to content

Let a tag produce a GitHub release, not just a PyPI upload - #6

Merged
fidetolabs merged 1 commit into
mainfrom
audit/gh-release-step
Sep 10, 2026
Merged

fidetolabs merged 1 commit into
mainfrom
audit/gh-release-step

Conversation

@fidetolabs

Copy link
Copy Markdown
Owner

Pushing v0.1.3 published the package and left the repo showing v0.1.2 as Latest — a tag is not a release. The package was right and the front page was wrong, which is the worst combination: anyone checking the repo would have concluded the fixes had not shipped.

The release job now extracts the notes from CHANGELOG.md for the tagged version and publishes them, after the PyPI upload succeeds. It fails loudly if the changelog has no section for that version — a release with empty notes is worse than one that did not happen.

Verified the extraction against the 0.1.3 section: 77 lines, starting at the right heading and stopping at the next one.

🤖 Generated with Claude Code

Pushing v0.1.3 published the package and left the repository showing v0.1.2 as
Latest, because a tag is not a release. The package was correct and the front page
was a day out of date, which is the worst combination -- anybody checking the repo
would have concluded the fixes had not shipped.

The release job now writes the notes out of CHANGELOG.md for the tagged version and
publishes them, after the upload succeeds. It fails loudly if the changelog has no
section for that version, because a release with empty notes is worse than one that
did not happen.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rv24tsMGnoTG7Hgrpeqg1V
@fidetolabs
fidetolabs merged commit 8ac466f into main Sep 10, 2026
3 checks passed
@fidetolabs
fidetolabs deleted the audit/gh-release-step branch September 10, 2026 07:24
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.

1 participant