Repository navigation
Commit 8beab2d
committed
fix(gate): changelog_reachability accepts the pending release heading
`check_changelog_reachability.sh --gate` required the first heading after
[Unreleased] to be the newest tag's. A hand-written MINOR bump stamps its
own `## [X.Y.0] - date` heading before the tag exists (release.yml's
verbatim path does not stamp), so the bump commit failed the gate step
`changelog_reachability`, locally and, once CI fetches tags, in CI too.
The check now lets one heading sit above the newest tag's when
build.zig.zon names that version, the version is newer than the newest
tag, and no tag for it exists. Then the newest tag's heading must be the
second. Any other heading there is still a violation.
Checked in a scratch clone with the release tags: bump commit passes;
heading 1.16.0 against zon 1.15.0 fails; a stray [1.15.0] heading with
zon at 1.14.12 fails; the pre-bump tree passes.
Smell-audited: 1: one bounded exception keyed on build.zig.zon, the version SSOT1 parent a00ce11 commit 8beab2d
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
83 | 103 | | |
84 | 104 | | |
85 | 105 | | |
| |||
0 commit comments