scripts: Automate tag message

This commit is contained in:
Simon Frei 2021-02-02 18:57:27 +01:00
parent e81a076090
commit 171d935b79
No known key found for this signature in database
GPG Key ID: 7C31D23ECB1006F3
1 changed files with 5 additions and 1 deletions

View File

@ -40,4 +40,8 @@ OLD_VERSION_NAME=$(grep "versionName" "app/build.gradle" | awk '{print $2}')
sed -i "s/$OLD_VERSION_NAME/\"$1\"/" "app/build.gradle" sed -i "s/$OLD_VERSION_NAME/\"$1\"/" "app/build.gradle"
git add "app/build.gradle" $CHANGELOG git add "app/build.gradle" $CHANGELOG
git commit -m "Bumped version to $NEW_VERSION_NAME" git commit -m "Bumped version to $NEW_VERSION_NAME"
git tag -a ${NEW_VERSION_NAME} git tag -a ${NEW_VERSION_NAME} -m "
$NEW_VERSION_NAME
$(cat $CHANGELOG)
"