Skip to content

ci: drive release notes from CHANGELOG.md#233

Merged
mdgreenwald merged 1 commit into
mainfrom
ci/updates
May 12, 2026
Merged

ci: drive release notes from CHANGELOG.md#233
mdgreenwald merged 1 commit into
mainfrom
ci/updates

Conversation

@mdgreenwald
Copy link
Copy Markdown
Owner

The previous release.yml used gh release --generate-notes, which walked back to the previous tag and pulled every PR merged in between. For v2.0.0 that meant a year of stale dependabot bumps showed up in the notes for what was a complete rewrite.

Extract the matching ## vX.Y.Z section from CHANGELOG.md instead, and hard-fail the workflow if there's no entry — forcing the CHANGELOG to be updated before any tag can be pushed.

@mdgreenwald mdgreenwald self-assigned this May 12, 2026
The previous release.yml used `gh release --generate-notes`, which walked
back to the previous tag and pulled every PR merged in between. For v2.0.0
that meant a year of stale dependabot bumps showed up in the notes for what
was a complete rewrite.

Extract the matching `## vX.Y.Z` section from CHANGELOG.md instead, and
hard-fail the workflow if there's no entry — forcing the CHANGELOG to be
updated before any tag can be pushed.

No release is cut by this change: release.yml only fires on `vX.Y.Z` tag
pushes, and this PR doesn't push a tag. The behavior takes effect on the
next intentional release.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@mdgreenwald mdgreenwald merged commit 07d10ed into main May 12, 2026
13 checks passed
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