Skip to content

cs-release: release notes since the previous v release - #36

Merged
lithiumtoast merged 1 commit into
mainfrom
release-notes-previous-version
Dec 1, 2026
Merged

lithiumtoast merged 1 commit into
mainfrom
release-notes-previous-version

Conversation

@lithiumtoast

Copy link
Copy Markdown
Member

v2026.12.1-rc's notes compared native-builds...v2026.12.1-rc and listed only #35. GitHub's generated notes start from the newest release of any tag, and the native-builds pre-release (#34) is a release too. (I've already edited that release's notes to compare against v2026.11.30-rc.3; they now list #27 through #35.)

The fix, in the cs-release action: a new "Release notes" step finds the newest non-draft release whose tag starts with v, asks GitHub's generate-notes API for the notes since then, and passes them to the release with body_path instead of generate_release_notes. Other repositories using the action get the same behaviour, so releases with other tags never break their notes. With no earlier v release, GitHub's default is used.

Checked: the step's query, run against this repository, picks v2026.12.1-rc as the previous release. generate-notes only returns text; it creates nothing. actionlint passes, and docs/workflows.md says where the notes start.

The step only runs when the action pushes, so this PR's CI release dry run skips it. The next release is its first real run.

GitHub's generated notes start from the newest release of any tag, so v2026.12.1-rc's notes compared against the native-builds pre-release and only listed one pull request. The action now asks for the notes since the newest release whose tag starts with v, and gives them to the release.
@lithiumtoast
lithiumtoast merged commit 0c0d177 into main Dec 1, 2026
28 checks passed
@lithiumtoast
lithiumtoast deleted the release-notes-previous-version branch December 1, 2026 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant