Skip to content

release: v4.27.5 - source release notes from the PR body when the squash… - #300

Merged
Shinrai merged 5 commits into
masterfrom
next
Sep 16, 2026
Merged

Shinrai merged 5 commits into
masterfrom
next

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

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

Co-authored-by: Shinrai [email protected]

Shinrai and others added 3 commits September 15, 2026 22:15
…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 ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: bug Something is broken or not behaving as expected area: core Touches core library / runtime source code type: config Changes to repository or project configuration files labels Sep 16, 2026
Shinrai
Shinrai previously approved these changes Sep 16, 2026
Shinrai and others added 2 commits September 15, 2026 22:39
The Co-authored-by trailer block (#292) was threaded into the release-PR refresh
path (update-release-pr → update-pr-changelog) but not the create path:
create-release-pr writes the body via the pull-requests action with body-content
only, discarding generate-comprehensive-changelog's co-authors output. A
freshly-opened release PR therefore had no trailer until its first refresh — and
a release created and merged before any refresh shipped with contributors
uncredited, the exact case #292 targets.

Give the pull-requests action an optional co-authors input that appends the block
dead-last (bodyContent.replace(/\s+$/,"") + "\n\n" + coAuthors — the same rule
update-pr-changelog uses, so a later coverage insert stays above the
<!-- co-authors --> marker), used on both the create and update paths, and thread
steps.changelog.outputs.co-authors from create-release-pr.

Fixes #301
@Shinrai
Shinrai merged commit f4ceb73 into master Sep 16, 2026
16 checks passed
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 ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: bug Something is broken or not behaving as expected type: config Changes to repository or project configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant