diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index d8b768623331447aca2ea80a47def93389f5220f..4afe95caa95ba548b25c472d736ddb126bf12031 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - + diff --git a/tools/update_android_version.sh b/tools/update_android_version.sh index 73e7ef20e0501a4e370d63068f1da52d3d593f05..4734957f19ffb74cd7dc19b295a764b151c0c5bb 100755 --- a/tools/update_android_version.sh +++ b/tools/update_android_version.sh @@ -1,11 +1,10 @@ #!/usr/bin/env bash -# this requires `master` in the git tree -# travis-ci branch builds are unable to set the version properly +# this requires `origin/master` in the git tree MANIFEST_FILE=android/AndroidManifest.xml -VERSIONCODE=`git rev-list master --first-parent --count` +VERSIONCODE=`git rev-list origin/master --first-parent --count` VERSIONNAME=`git describe --always --tags | sed -e 's/^v//'` if [ -n "$VERSIONCODE" ]; then