Skip to content

Commit 40dfcda

Browse files
committed
Fix changelog tag reconciliation to only use version tags
1 parent b116cc2 commit 40dfcda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.claude/commands/update-changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ When a new version is released:
200200

201201
**This step catches missing version sections and is the #1 source of errors when skipped.**
202202

203-
1. Get the latest git tag: `git tag --sort=-v:refname | head -5`
203+
1. Get the latest git tag: `git tag -l 'v*' --sort=-v:refname | head -5`
204204
2. Get the most recent version header in CHANGELOG.md (the first `## [vVERSION]` after `## [Unreleased]`)
205205
3. **Compare them.** If the latest git tag does NOT match the latest changelog version header, there are tagged releases missing from the changelog. For example:
206206
- Latest tag: `v9.6.0-rc.4`

0 commit comments

Comments
 (0)