release.sh: Add build number to commit subject

This commit is contained in:
Calcitem 2021-06-09 01:16:35 +08:00
parent b1af7dc1db
commit 3c078eb934
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ notepad $ZH_CHANGLOG_DIR/${BUILD_NUMBER}.txt
# Git commit
git status -s
git add .
git commit -m "Sanmill v$NEW_VERSION" -m "Official release version of Sanmill v$NEW_VERSION" -s
git commit -m "Sanmill v$NEW_VERSION (${BUILD_NUMBER})" -m "Official release version of Sanmill v$NEW_VERSION" -s
git tag -d v$NEW_VERSION || true
git tag v$NEW_VERSION
git push origin v$NEW_VERSION -f