You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/commands/update-changelog.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,7 +200,7 @@ When a new version is released:
200
200
201
201
**This step catches missing version sections and is the #1 source of errors when skipped.**
202
202
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`
204
204
2. Get the most recent version header in CHANGELOG.md (the first `## [vVERSION]` after `## [Unreleased]`)
205
205
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:
0 commit comments