Update bump-version.sh

just a little fix
This commit is contained in:
Jascha Ezra Urbach 2023-10-21 17:28:44 +02:00 committed by GitHub
parent 4e16800b52
commit abb6bcd199
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ if [ -f VERSION ]; then
fi fi
echo -e "${NOTICE_FLAG} Will set new version to be ${WHITE}$INPUT_STRING" echo -e "${NOTICE_FLAG} Will set new version to be ${WHITE}$INPUT_STRING"
echo $INPUT_STRING > VERSION echo $INPUT_STRING > VERSION
echo "## $INPUT_STRING ($NOW)" > tmpfile # echo "## $INPUT_STRING ($NOW)" > tmpfile
# git log --pretty=format:" - %s" "v$BASE_STRING"...HEAD >> tmpfile # git log --pretty=format:" - %s" "v$BASE_STRING"...HEAD >> tmpfile
# echo "" >> tmpfile # echo "" >> tmpfile
# echo "" >> tmpfile # echo "" >> tmpfile
@ -45,7 +45,7 @@ if [ -f VERSION ]; then
# mv tmpfile CHANGELOG.md # mv tmpfile CHANGELOG.md
# echo -e "$ADJUSTMENTS_MSG" # echo -e "$ADJUSTMENTS_MSG"
# read # read
# echo -e "$PUSHING_MSG" echo -e "$PUSHING_MSG"
# git add CHANGELOG.md VERSION # git add CHANGELOG.md VERSION
git commit -m "Bump version to ${INPUT_STRING}." git commit -m "Bump version to ${INPUT_STRING}."
git tag -a -m "Tag version ${INPUT_STRING}." "v$INPUT_STRING" git tag -a -m "Tag version ${INPUT_STRING}." "v$INPUT_STRING"