Skip to content

Commit 2bfc5e6

Browse files
committed
fix: use --tag flag in git-cliff to assign commits to version section
This ensures new commits get assigned to the proper version section in CHANGELOG.md (e.g., ## [0.8.1]) instead of appearing under Unreleased. The --tag flag tells git-cliff to treat the upcoming version as if it already exists.
1 parent 2b7427c commit 2bfc5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cargo check --quiet
7171

7272
# Generate CHANGELOG.md
7373
echo "→ Generating CHANGELOG.md"
74-
git cliff -o CHANGELOG.md
74+
git cliff --tag "v$VERSION" -o CHANGELOG.md
7575

7676
# Show what changed
7777
echo ""

0 commit comments

Comments
 (0)