Repository navigation
Auto-create draft release with generated notes - #463
Merged
Merged
Conversation
Post-release only created the git tag, leaving no GitHub release object; the notes had to be written by hand each time, and a tag with no release was easy to miss (as happened for v0.4.7). Add a step that runs `gh release create --draft --generate-notes` right after the tag is pushed, so every release gets a draft with auto-filled notes for a human to review and publish. Add .github/release.yml to keep version-bump PRs and bot commits out of the generated notes. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
Author
|
Optimistic |
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.
Summary
Post-release only creates the git tag; the GitHub release object and its notes are written by hand each time. A tag with no release is easy to miss (v0.4.7 was tagged with no release until it was created manually).
Changes
post-release.yml: after the tag is pushed, rungh release create --draft --generate-notesso every release gets a draft with auto-filled notes for a human to review and publish..github/release.yml: exclude version-bump PRs (releaselabel) and bot authors from the generated notes.How to Test
Merge a
release/v*PR and confirm a draft release for the new tag appears under Releases with auto-generated notes (version-bump PR excluded).AI Assistance