fix(release-plz): keep copyright header atop the generated changelog #119
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/emc!119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-plz-changelog-copyright-header"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Configure release-plz's changelog
headerso the regeneratedCHANGELOG.mdkeeps
<!-- Copyright 2026 John Wilger -->as its first line.Rationale
release-plz rewrites
CHANGELOG.mdfrom its own template on every release. Withno
[changelog]config it used the default# Changelogpreamble and droppedthe copyright comment that had been added to the file. The Rust CI job runs
just copyright-headersas its first step, andscripts/copyright-headers.shrequires the
Copyright 2026 John Wilgerheader within the first five lines ofevery
*.mdfile — so the generated release PR (#118) failed CI before anytests ran. Pinning the changelog header to start with the copyright comment
makes every future release PR satisfy the header check while preserving the
existing Keep-a-Changelog body format.
Verification
release-plz update(run locally in the dev shell) regeneratesCHANGELOG.mdwith
<!-- Copyright 2026 John Wilger -->on line 1, the standard preamble,and the unchanged
## [x.y.z](compare) - date+### Added/Fixedsections.scripts/copyright-headers.sh --checkandcargo fmt --all --checkpass.🤖 Generated with Claude Code
This PR updates the
release-plz.tomlconfiguration to ensure that the copyright header is retained at the top of the generatedCHANGELOG.md, addressing a CI failure issue. The change appears safe to merge.LLM usage and cost
Estimated total USD: $0.008858 via https://api.openai.com and https://api.openai.com