Add iOS version number
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user