Skip to content

Auto-create draft release with generated notes - #463

Merged
em3s merged 1 commit into
mainfrom
ci/post-release-draft-notes
Jul 24, 2026
Merged

em3s merged 1 commit into
mainfrom
ci/post-release-draft-notes

Conversation

@em3s

@em3s em3s commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

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, run gh release create --draft --generate-notes so every release gets a draft with auto-filled notes for a human to review and publish.
  • .github/release.yml: exclude version-bump PRs (release label) 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

  • This PR was written largely with AI assistance.
    • Tool / model: Claude Code (Opus 4.8)

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]>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. maintenance Maintenance work. labels Jul 24, 2026
@em3s em3s changed the title ci(release): auto-create draft release with generated notes ci: auto-create draft release with generated notes Jul 24, 2026
@em3s

em3s commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Optimistic

@em3s
em3s merged commit 8c373d8 into main Jul 24, 2026
3 checks passed
@em3s
em3s deleted the ci/post-release-draft-notes branch July 24, 2026 05:46
@em3s em3s changed the title ci: auto-create draft release with generated notes Auto-create draft release with generated notes Jul 24, 2026
@em3s em3s self-assigned this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance work. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant