Repository navigation
Generate final release notes from the previous stable tag - #1275
Merged
Merged
Conversation
Without an explicit previous tag, GitHub compares against the most recent release, including release candidates, so v2.6.0 only listed changes since v2.6.0-rc1. Pass the previous non-rc tag so the notes cover everything since the last stable release. 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
When a final release (e.g.
v2.6.0) is tagged after one or more release candidates, the auto-generated release notes only list PRs since the last rc (v2.6.0-rc1), not since the previous stable release (v2.5.7). With no previous tag given, GitHub's generate-notes API compares against the most recent release, and that includes pre-releases.Change
In
release.yml:fetch-depth: 0so tags are available.git describe --tags --abbrev=0 --exclude='*-rc*' HEAD^.ncipollo/release-actionthroughgenerateReleaseNotesPreviousTag.prerelease.ymlis unchanged.Verification
v2.5.7the step returnsv2.5.6.🤖 Generated with Claude Code