Repository navigation
ci: take each draft's release notes from its CHANGELOG section - #163
Merged
Merged
Conversation
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.
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 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.