Commit 0624b8f
authored
fix(changelog): restore [Unreleased] heading on main + document the rule (#103)
After the v0.2.0 release-prep commit, `## [Unreleased]` was renamed to
`## [v0.2.0] - 2026-05-13` but a fresh empty `## [Unreleased]` heading
was not inserted above it. That left `main` with no Unreleased section,
which breaks the `Update Unreleased Changelog` workflow that runs on
every push to main: `communique generate HEAD --changelog` errors with
× CHANGELOG.md exists but does not contain ## [Unreleased] or
## Unreleased; add an Unreleased section before running
`communique generate HEAD --changelog`.
This change:
- Restores an empty `## [Unreleased]` heading above `## [v0.2.0]` in
CHANGELOG.md so future post-release merges flow through the
unreleased-changelog bot correctly.
- Adds a new "`[Unreleased]` heading must stay on `main`" subsection
to docs/RELEASE-PROCESS.md spelling out the rename-and-insert rule,
noting which workflows depend on which heading, and showing the
expected CHANGELOG.md shape after the release-prep commit. The
next maintainer who runs `release:prep --changelog ci` should
hand-edit CHANGELOG.md and amend before pushing.
A future enhancement could make `release:prep` perform the rename-
and-insert automatically, but that's out of scope for this fix.
Change-Id: Ib0cf1999efcd7180b723960098a92e2c500463f5
Signed-off-by: Thomas Kosiewski <tk@coder.com>1 parent 28665dc commit 0624b8f
2 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
175 | 200 | | |
176 | 201 | | |
177 | 202 | | |
| |||
0 commit comments