Repository navigation
fix(release): source release notes from the PR body when the squash drops it - #299
Merged
Merged
Conversation
…rops it The post-release Create GitHub Release step derives the Release body and the annotated tag message from the release commit's body (generate-comprehensive- changelog's single-commit path). A next→master / hotfixes→master squash can land title-only — an empty commit body despite squash_merge_commit_message: PR_BODY — which strips the curated changelog + coverage from the published Release and tag. When the release commit body is empty, recover the full artifact from the release PR's body via the trailing (#N) ref and use it verbatim: the PR body already carries the changelog, coverage, and a human-only contributor block, so it is neither stripped nor re-appended (re-deriving contributors from the single bot-authored release commit would list the signing bot). Best-effort — falls back to the previous commit-message behaviour when there is no PR ref, no token, or the fetch fails. Adds an exported extractTrailingPrNumber helper + unit tests. Fixes #298
Shinrai
approved these changes
Sep 16, 2026
Shinrai
added a commit
that referenced
this pull request
Sep 16, 2026
…ash… (#300) ## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - #302 - fix(release): thread co-author trailers into the release-PR create path (5349570) - #299 - fix(release): source release notes from the PR body when the squash drops it (14052d5) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes _No other changes_ <details> <summary>👥 Contributors</summary> - @Shinrai </details> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]> --------- Co-authored-by: Shinrai <[email protected]> Co-authored-by: Nathaniel H <[email protected]> Co-authored-by: cldmv-bot[bot] <230771808+cldmv-bot[bot]@users.noreply.github.com>
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.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors