Skip to content

Commit de48ca4

Browse files
committed
fix: update git-cliff commands to use latest instead of unreleased
1 parent 7f168cf commit de48ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ if ! git diff --quiet -- dist; then
122122
fi
123123

124124
touch CHANGELOG.md
125-
git cliff --config .git-cliff.toml --tag "$TAG" --unreleased --prepend CHANGELOG.md
125+
git cliff --config .git-cliff.toml --tag "$TAG" --latest --prepend CHANGELOG.md
126126

127127
git add package.json package-lock.json CHANGELOG.md dist
128128

@@ -135,7 +135,7 @@ MAJOR_TAG=$(echo "$TAG" | cut -d. -f1)
135135
tmp_notes=$(mktemp)
136136
trap 'rm -f "$tmp_notes"' EXIT
137137

138-
git cliff --config .git-cliff.toml --tag "$TAG" --unreleased > "$tmp_notes"
138+
git cliff --config .git-cliff.toml --tag "$TAG" > "$tmp_notes"
139139

140140
echo "Pushing changes..."
141141
git push origin main

0 commit comments

Comments
 (0)