We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f168cf commit de48ca4Copy full SHA for de48ca4
scripts/release.sh
@@ -122,7 +122,7 @@ if ! git diff --quiet -- dist; then
122
fi
123
124
touch CHANGELOG.md
125
-git cliff --config .git-cliff.toml --tag "$TAG" --unreleased --prepend CHANGELOG.md
+git cliff --config .git-cliff.toml --tag "$TAG" --latest --prepend CHANGELOG.md
126
127
git add package.json package-lock.json CHANGELOG.md dist
128
@@ -135,7 +135,7 @@ MAJOR_TAG=$(echo "$TAG" | cut -d. -f1)
135
tmp_notes=$(mktemp)
136
trap 'rm -f "$tmp_notes"' EXIT
137
138
-git cliff --config .git-cliff.toml --tag "$TAG" --unreleased > "$tmp_notes"
+git cliff --config .git-cliff.toml --tag "$TAG" > "$tmp_notes"
139
140
echo "Pushing changes..."
141
git push origin main
0 commit comments