mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Android: ensure higher build number for arm64 APK
Google Play allows uploading two APKs, but only if the arm64 one has a higher build number. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
94521c9958
commit
318ddc7227
1 changed files with 6 additions and 0 deletions
|
@ -154,9 +154,15 @@ rm -df ./subsurface-mobile-build-arm/AndroidManifest.xml
|
|||
|
||||
if [ "$USE_X" ] ; then
|
||||
bash "$USE_X" "$SUBSURFACE_SOURCE"/packaging/android/build.sh -buildnr "$BUILDNR" arm "$@"
|
||||
# the arm64 APK has to have a higher build number
|
||||
BUILDNR=$((BUILDNR+1))
|
||||
echo "${BUILDNR}" > ./buildnr.dat
|
||||
bash "$USE_X" "$SUBSURFACE_SOURCE"/packaging/android/build.sh -buildnr "$BUILDNR" arm64 "$@"
|
||||
else
|
||||
bash "$SUBSURFACE_SOURCE"/packaging/android/build.sh -buildnr "$BUILDNR" arm "$@"
|
||||
# the arm64 APK has to have a higher build number
|
||||
BUILDNR=$((BUILDNR+1))
|
||||
echo "${BUILDNR}" > ./buildnr.dat
|
||||
bash "$SUBSURFACE_SOURCE"/packaging/android/build.sh -buildnr "$BUILDNR" arm64 "$@"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue