Repository navigation
Generate release candidate notes from the previous stable tag - #1276
Merged
Merged
Conversation
The prerelease workflow never enabled generateReleaseNotes, so release candidates were published with an empty body. Generate notes against the previous non-rc tag so each rc lists everything since the last stable release, matching release.yml. Co-Authored-By: Claude Opus 5.5 <[email protected]>
🔧 PR Build ArtifactsVersion: All environments built successfully. Download the zip files:
|
gskjold
added a commit
that referenced
this pull request
Nov 5, 2026
…stable one (#1307) Since #1276 every RC listed all changes since the last stable release, so v2.6.0-rc2 repeated everything already in rc1. RCs now compare against the previous tag of any kind: rc1 still compares against the last stable release, later RCs only against the RC before them. Final releases keep comparing against the last stable tag (#1275). Also bring CLAUDE.md up to date with the current code: Node 22, the native_config/native_watchdog test envs, the decoder chain, configuration JSON and MQTT control, network resilience, the EEPROM version constant, and the release-note rules above. Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Problem
Release candidates are published with an empty body (e.g.
v2.6.0-rc1) becauseprerelease.ymlnever setsgenerateReleaseNotes, which defaults tofalse.Change
prerelease.ymlnow works the same way asrelease.ymlafter #1275:fetch-depth: 0so tags are available.git describe --tags --abbrev=0 --exclude='*-rc*' HEAD^.generateReleaseNotesand pass that tag asgenerateReleaseNotesPreviousTag.Each rc then lists all changes since the last stable release, not just the changes since the previous rc.
Verification
v2.6.0-rc1the step returnsv2.5.7.v2.6.0-rc1body was filled in by hand with the same comparison (v2.5.7...v2.6.0-rc1).🤖 Generated with Claude Code