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
|
||||
@@ -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>
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"mobile/ios/DeightonAR/info.plist",
|
||||
"mobile/android/app/build.gradle",
|
||||
"mobile/android/app/src/main/AndroidManifest.xml",
|
||||
"scratch/version.txt",
|
||||
"scratch/version.tag.txt",
|
||||
"scratch/version.desc.txt"
|
||||
],
|
||||
@@ -15,7 +16,7 @@
|
||||
major: 1,
|
||||
minor: 0,
|
||||
patch: 0,
|
||||
build: 20180413,
|
||||
build: 20180414,
|
||||
revision: 1,
|
||||
sequence: 1,
|
||||
tz: "America/Los_Angeles",
|
||||
@@ -102,12 +103,17 @@
|
||||
},
|
||||
{
|
||||
name: "Commit tag file",
|
||||
glob: "**/*.tag.txt",
|
||||
glob: "**/version.tag.txt",
|
||||
write: "v${major}.${minor}.${patch}"
|
||||
},
|
||||
{
|
||||
name: "Full version file",
|
||||
glob: "**/version.txt",
|
||||
write: "${major}.${minor}.${patch}-${build}.${revision}"
|
||||
},
|
||||
{
|
||||
name: "Commit tag description file",
|
||||
glob: "**/*.desc.txt",
|
||||
glob: "**/version.desc.txt",
|
||||
write: "Version ${major}.${minor}.${patch}-${build}.${revision}"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user