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> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.0.0</string> <string>1.2.0</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>20180328.0</string> <string>20180406.2</string>
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSAppTransportSecurity</key> <key>NSAppTransportSecurity</key>

View File

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

View File

@@ -3,16 +3,17 @@
"package.json", "package.json",
"website/.env", "website/.env",
"website/src/version.js", "website/src/version.js",
"mobile/ios/DeightonAR/info.plist",
"scratch/version.tag.txt", "scratch/version.tag.txt",
"scratch/version.desc.txt" "scratch/version.desc.txt"
], ],
buildFormat: "full", buildFormat: "full",
tags: { tags: {
major: 0, major: 1,
minor: 2, minor: 2,
patch: 0, patch: 0,
build: 20180307, build: 20180406,
revision: 0, revision: 2,
tz: "America/Los_Angeles", tz: "America/Los_Angeles",
title: "Deighton AR System", title: "Deighton AR System",
copyright: "© 2018, Kingston Software Solutions.", 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", name: "Commit tag file",
glob: "**/*.tag.txt", glob: "**/*.tag.txt",
@@ -65,7 +80,7 @@
}, },
{ {
name: "Website environment file", name: "Website environment file",
glob: "website/.env", glob: "**/.env",
write: "REACT_APP_TITLE=${title}" write: "REACT_APP_TITLE=${title}"
} }
] ]

View File

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

View File

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