Add iOS version number

This commit is contained in:
John Lyon-Smith
2018-04-06 18:00:37 -07:00
parent a60abff226
commit fd5a28a4e9
5 changed files with 25 additions and 11 deletions

View File

@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>20180328.0</string>
<string>20180406.2</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>

View File

@@ -1,6 +1,6 @@
{
"name": "deighton-ar",
"version": "0.2.0",
"version": "1.2.0",
"description": "Deighton AR Training System",
"main": "index.js",
"repository": {

View File

@@ -3,16 +3,17 @@
"package.json",
"website/.env",
"website/src/version.js",
"mobile/ios/DeightonAR/info.plist",
"scratch/version.tag.txt",
"scratch/version.desc.txt"
],
buildFormat: "full",
tags: {
major: 0,
major: 1,
minor: 2,
patch: 0,
build: 20180307,
revision: 0,
build: 20180406,
revision: 2,
tz: "America/Los_Angeles",
title: "Deighton AR System",
copyright: "© 2018, Kingston Software Solutions.",
@@ -53,6 +54,20 @@
}
]
},
{
name: "Xcode Info PList",
glob: "**/info.plist",
updates: [
{
search: "(?<begin>CFBundleVersion</key>\n[\t ]*<string>)(\\d+\\.\\d+)(?<end></string>)",
replace: "${begin}${build}.${revision}${end}"
},
{
search: "(?<begin>CFBundleShortVersionString</key>\n[\t ]*<string>)(\\d+\\.\\d+\\.\\d+)(?<end></string>)",
replace: "${begin}${major}.${minor}.${patch}${end}"
}
]
},
{
name: "Commit tag file",
glob: "**/*.tag.txt",
@@ -65,7 +80,7 @@
},
{
name: "Website environment file",
glob: "website/.env",
glob: "**/.env",
write: "REACT_APP_TITLE=${title}"
}
]

View File

@@ -1,2 +1 @@
REACT_APP_TITLE=Deighton AR System
REACT_APP_SUPPORT_EMAIL=support@kss.us.com

View File

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