Skip to content

Generate release candidate notes from the previous stable tag - #1276

Merged
gskjold merged 1 commit into
mainfrom
prerelease-notes
Oct 1, 2026
Merged

gskjold merged 1 commit into
mainfrom
prerelease-notes

Conversation

@gskjold

@gskjold gskjold commented Oct 1, 2026

Copy link
Copy Markdown
Member

Problem

Release candidates are published with an empty body (e.g. v2.6.0-rc1) because prerelease.yml never sets generateReleaseNotes, which defaults to false.

Change

prerelease.yml now works the same way as release.yml after #1275:

  • Check out with fetch-depth: 0 so tags are available.
  • Find the previous stable tag with git describe --tags --abbrev=0 --exclude='*-rc*' HEAD^.
  • Enable generateReleaseNotes and pass that tag as generateReleaseNotesPreviousTag.

Each rc then lists all changes since the last stable release, not just the changes since the previous rc.

Verification

  • Checked locally: for v2.6.0-rc1 the step returns v2.5.7.
  • The workflow YAML parses.
  • The v2.6.0-rc1 body was filled in by hand with the same comparison (v2.5.7...v2.6.0-rc1).

🤖 Generated with Claude Code

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]>
@gskjold
gskjold merged commit 04edb80 into main Oct 1, 2026
7 checks passed
@gskjold
gskjold deleted the prerelease-notes branch October 1, 2026 09:57
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

🔧 PR Build Artifacts

Version: 05d86e4

All environments built successfully. Download the zip files:

Artifacts expire after 7 days. View workflow run

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]>
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