build: fix changelog format in cut.sh
This commit is contained in:
parent
2cca6b1d5d
commit
a3f6036721
|
@ -246,8 +246,8 @@ generate_changelog () {
|
||||||
fi
|
fi
|
||||||
./scripts/rel/format-changelog.sh -b "${from_tag}" -l 'en' -v "$TAG" > "changes/${TAG}.en.md"
|
./scripts/rel/format-changelog.sh -b "${from_tag}" -l 'en' -v "$TAG" > "changes/${TAG}.en.md"
|
||||||
./scripts/rel/format-changelog.sh -b "${from_tag}" -l 'zh' -v "$TAG" > "changes/${TAG}.zh.md"
|
./scripts/rel/format-changelog.sh -b "${from_tag}" -l 'zh' -v "$TAG" > "changes/${TAG}.zh.md"
|
||||||
if [ -n "$(git diff --stat)" ]; then
|
git add changes/"${TAG}".*.md
|
||||||
git add changes/"${TAG}".*.md
|
if [ -n "$(git diff --staged --stat)" ]; then
|
||||||
git commit -m "docs: Generate changelog for ${TAG}"
|
git commit -m "docs: Generate changelog for ${TAG}"
|
||||||
else
|
else
|
||||||
logmsg "No changelog update."
|
logmsg "No changelog update."
|
||||||
|
|
Loading…
Reference in New Issue