1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 04:11:14 +00:00

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

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"
git add "app/build.gradle" $CHANGELOG
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)
"