Skip to content

ci: generate release changelogs in PRs without committing CHANGELOG.md#437

Open
passcod wants to merge 1 commit into
mainfrom
releaseplz-changelog-in-pr
Open

ci: generate release changelogs in PRs without committing CHANGELOG.md#437
passcod wants to merge 1 commit into
mainfrom
releaseplz-changelog-in-pr

Conversation

@passcod
Copy link
Copy Markdown
Member

@passcod passcod commented May 30, 2026

🤖 The release-plz config had changelog_update = false, which turned out to suppress changelog generation entirely — the most recent release PR (#425) and the GitHub release notes for v1.18.3 / bestool-tamanu-v0.9.1 all came out with empty changelog bodies.

This re-enables changelog generation so the release PR body lists the changes, and gitignores CHANGELOG.md so release-plz writes the file only to populate the PR body and never commits it to the repo. No CHANGELOG.md files are tracked, so there's nothing to remove.

Trade-off worth calling out: GitHub release notes are derived by the separate release job from the committed CHANGELOG.md, so with the file gitignored they stay empty by design. The TODO listed release/tag notes as a "possibly", and keeping committed changelog files out of the repo was the priority. If populated release notes are wanted later, the alternative is to let release-plz commit the per-crate CHANGELOG.md files.

Since release-plz only runs in CI, the no-commit behaviour with a gitignored changelog should be confirmed on the next release PR.

changelog_update was false, which suppressed changelog generation entirely
— the release PR body and GitHub release notes both came out empty. Re-enable
generation so the release PR body lists the changes, and gitignore CHANGELOG.md
so release-plz writes it only to populate the PR body, never committing it to
the repo. GitHub release notes derive from the committed file, so they remain
empty by design.

Co-authored-by: Claude <noreply@anthropic.com>
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