feat(release): add CHANGELOG and release notes to GitHub releases#142
Merged
stephenleo merged 4 commits intomainfrom Mar 28, 2026
Merged
feat(release): add CHANGELOG and release notes to GitHub releases#142stephenleo merged 4 commits intomainfrom
stephenleo merged 4 commits intomainfrom
Conversation
CHANGELOG.md section for the release tag is extracted and placed as the release body; GitHub's auto-generated PR/commit list is appended below via generate_release_notes: true in softprops/action-gh-release@v2. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
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
CHANGELOG.mdwith entries for all releases from v0.0.1-rc1 through v1.4.0.github/workflows/release.ymlso every GitHub release body shows the curated CHANGELOG section on top, followed by auto-generated PR/commit notes belowCHANGELOG.mdby version tag usingawk; falls back to a generic message if no entry existsHow it works
releasejob checks out the repo at the release tag to accessCHANGELOG.mdawkscript extracts the section matching the current version (e.g.## [1.4.0])softprops/action-gh-release@v2renders the extracted notes as the release body, then appends GitHub's auto-generated contributor/PR list belowTest plan
CHANGELOG.mdrenders correctly on GitHub🤖 Generated with Claude Code