Skip to content

fix(release): source release notes from the PR body when the squash drops it - #299

Merged
Shinrai merged 1 commit into
nextfrom
fix/release-notes-from-pr-body
Sep 16, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/release-notes-from-pr-body

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix(release): source release notes from the PR body when the squash drops it (14052d5)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

…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
@cldmv-bot cldmv-bot Bot added ! fix → next v4 flow: fix contributor PR targeting the next integration branch area: core Touches core library / runtime source code labels Sep 16, 2026
@Shinrai
Shinrai merged commit 8846da4 into next Sep 16, 2026
16 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/release-notes-from-pr-body branch September 16, 2026 05:17
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code ! fix → next v4 flow: fix contributor PR targeting the next integration branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant