Skip to content

fix(changelog): don't write unreleased preview on pre-release#1231

Merged
patrikbraborec merged 1 commit into
masterfrom
fix/no-changelog-preview-on-prerelease
Jun 26, 2026
Merged

fix(changelog): don't write unreleased preview on pre-release#1231
patrikbraborec merged 1 commit into
masterfrom
fix/no-changelog-preview-on-prerelease

Conversation

@patrikbraborec

Copy link
Copy Markdown
Contributor

The pre-release workflow wrote a speculative ## X.Y.Z changelog section into CHANGELOG.md on every push to master. A version entry should appear only once it's actually released.

  • Drop the Update CHANGELOG.md step from pre_release.yaml. The package.json bump and the master commit are unchanged.
  • Remove the current preview section from CHANGELOG.md.

The stable release.yaml flow still generates the dated, linked version section from commit history at release time, so nothing is lost.

Closes #1230

🤖 Generated with Claude Code

@l2ysho l2ysho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx 🚀

@DaveHanns DaveHanns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Drop the CHANGELOG.md write from the pre-release workflow so a version
entry only appears once it's actually released. package.json bump and the
master commit are unchanged. Also remove the current preview section.

Closes #1230

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@patrikbraborec patrikbraborec force-pushed the fix/no-changelog-preview-on-prerelease branch from f236a81 to a3df3b5 Compare June 26, 2026 11:14
@patrikbraborec patrikbraborec enabled auto-merge (squash) June 26, 2026 11:16
@patrikbraborec patrikbraborec merged commit bb5b454 into master Jun 26, 2026
24 checks passed
@patrikbraborec patrikbraborec deleted the fix/no-changelog-preview-on-prerelease branch June 26, 2026 11:19
patrikbraborec added a commit that referenced this pull request Jun 26, 2026
The pre-release workflow wrote a speculative `## X.Y.Z` changelog
section into `CHANGELOG.md` on every push to master. A version entry
should appear only once it's actually released.

- Drop the `Update CHANGELOG.md` step from `pre_release.yaml`. The
package.json bump and the master commit are unchanged.
- Remove the current preview section from `CHANGELOG.md`.

The stable `release.yaml` flow still generates the dated, linked version
section from commit history at release time, so nothing is lost.

Closes #1230

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 (1M context) <[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.

Don't write unreleased changelog preview on pre-release

4 participants