Update version and add rename script

This commit is contained in:
John Lyon-Smith
2018-04-14 05:21:15 -07:00
parent 9acc48f096
commit cac8a3868e
5 changed files with 20 additions and 6 deletions

8
mobile/android/rename-apk Executable file
View 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

View File

@@ -21,7 +21,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>20180413.1</string>
<string>20180414.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>

View File

@@ -1,6 +1,6 @@
export const versionInfo = {
version: '1.0.0',
fullVersion: '1.0.0-20180413.1',
fullVersion: '1.0.0-20180414.1',
title: 'Deighton AR System',
copyright: '© 2018, Kingston Software Solutions.',
supportEmail: 'support@kss.us.com',