mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-19 19:42:17 +02:00
fix(release): delay tag push until after builds succeed
this is still before any builds leave the build machine and become public, but is after builds succeed so should burn fewer version numbers in the event builds fail, as just happened
This commit is contained in:
parent
ddeda7a47f
commit
f30799e7d3
@ -100,10 +100,6 @@ git add $GRADLEFILE $CHANGELOG
|
||||
git commit -m "Bumped version to $VERSION"
|
||||
git tag v"$VERSION"
|
||||
|
||||
# Push both commits and tag
|
||||
git push
|
||||
git push --tags
|
||||
|
||||
# Read the key passwords if needed
|
||||
if [ "$KSTOREPWD" == "" ]; then
|
||||
read -rsp "Enter keystore password: " KSTOREPWD; echo
|
||||
@ -124,6 +120,10 @@ for UCFLAVOR in $UCFLAVORS; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Push both commits and tag before any of the builds leave the machine
|
||||
git push
|
||||
git push --tags
|
||||
|
||||
# Build signed APK using Gradle and publish to Play.
|
||||
# Do this before building universal of the play flavor so the universal is not uploaded to Play Store
|
||||
# Configuration for pushing to Play specified in build.gradle 'play' task
|
||||
|
Loading…
Reference in New Issue
Block a user