Update version and add rename script
This commit is contained in:
8
mobile/android/rename-apk
Executable file
8
mobile/android/rename-apk
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
OLD_APK=${SCRIPT_DIR}/app/build/outputs/apk/app-release.apk
|
||||
VERSION=$(cat $SCRIPT_DIR/../../scratch/version.txt)
|
||||
NEW_APK=$(dirname $OLD_APK)/deighton-ar-${VERSION}.apk
|
||||
|
||||
mv $OLD_APK $NEW_APK
|
||||
Reference in New Issue
Block a user