From 3c078eb9345f403e51e4fa5ac16f6844967dcf4b Mon Sep 17 00:00:00 2001 From: Calcitem Date: Wed, 9 Jun 2021 01:16:35 +0800 Subject: [PATCH] release.sh: Add build number to commit subject --- release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release.sh b/release.sh index 289e2f81..c8f86787 100755 --- a/release.sh +++ b/release.sh @@ -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