Skip to content

Generate release candidate notes from the previous tag, not the last stable one - #1307

Merged
gskjold merged 1 commit into
mainfrom
rc-notes-since-previous-tag
Nov 5, 2026
Merged

gskjold merged 1 commit into
mainfrom
rc-notes-since-previous-tag

Conversation

@gskjold

@gskjold gskjold commented Nov 5, 2026

Copy link
Copy Markdown
Member

Problem

Since #1276, prerelease.yml generates RC release notes against the last stable tag. v2.6.0-rc2 therefore repeated every change already listed in v2.6.0-rc1, so testers couldn't see what was new in rc2.

Change

  • prerelease.yml: find the previous tag with git describe --tags --abbrev=0 HEAD^ (no --exclude='*-rc*'). rc1 still compares against the last stable release; rc2 and later compare against the RC before them.
  • release.yml is unchanged (Generate final release notes from the previous stable tag #1275): a final release still lists everything since the last stable release.
  • CLAUDE.md: the Releases section now describes both rules. The same file also gets a general refresh to match the current code: Node 22, the native_config/native_watchdog test envs, the src/decoder chain and LNG formats, configuration JSON / MQTT commands, network resilience (NetworkWatchdog, DnsGuard, NtpStatus), EEPROM_EXPECTED_VERSION and relocation, ui/dist being committed, and test key handling.

Verification

Refs #1276

🤖 Generated with Claude Code

…stable one

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]>
@gskjold
gskjold merged commit ffe77d6 into main Nov 5, 2026
7 checks passed
@gskjold
gskjold deleted the rc-notes-since-previous-tag branch November 5, 2026 12:04
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

🔧 PR Build Artifacts

Version: 9ec7852

All environments built successfully. Download the zip files:

Artifacts expire after 7 days. View workflow run

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