Skip to content

ci: take each draft's release notes from its CHANGELOG section - #163

Merged
crenshawdev merged 1 commit into
mainfrom
ci/release-notes-from-changelog
Dec 2, 2026
Merged

crenshawdev merged 1 commit into
mainfrom
ci/release-notes-from-changelog

Conversation

@crenshawdev

Copy link
Copy Markdown
Owner

The draft job now checks out the repo before it downloads the binaries, slices this version's section out of CHANGELOG.md the same way Cadence's release does, and creates the draft with those notes instead of --notes "". A tag with no section fails the job, so no draft is made. Until now every published release, v1.0.0 through v2.2.0, has been blank on GitHub. I ran the same awk against CHANGELOG.md for all five versions and for a missing one: each section comes out without the link block, and the missing one comes out empty. The checkout keeps no credentials. There's no CHANGELOG entry, because nothing a user installs changes.

The draft was created with empty notes and the signing script publishes
it as is, so every release from v1.0.0 to v2.2.0 is blank on GitHub. The
notes were in the CHANGELOG the whole time. A tag whose version has no
section now gets no draft, the same rule Cadence's release follows.
@crenshawdev
crenshawdev merged commit 204e006 into main Dec 2, 2026
4 checks passed
@crenshawdev
crenshawdev deleted the ci/release-notes-from-changelog branch December 2, 2026 13:36
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