diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-14 06:59:04 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-23 17:26:46 -0700 |
commit | a4a9edcd0fa32230b6a279b249fe07243393b584 (patch) | |
tree | 5fde240de5a9855a00a14800db45bc277afb2900 /packaging/ios/build.sh | |
parent | 9028c807b2ca1e9c8bba4a570c4c780cc962ca61 (diff) | |
download | subsurface-a4a9edcd0fa32230b6a279b249fe07243393b584.tar.gz |
iOS build: create Info.plist with correct version information
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/build.sh')
-rw-r--r-- | packaging/ios/build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh index 2b19d08a9..be313f094 100644 --- a/packaging/ios/build.sh +++ b/packaging/ios/build.sh @@ -30,6 +30,9 @@ echo "#define GIT_VERSION_STRING \"$GITVERSION\"" > subsurface-mobile/ssrf-versi echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" >> subsurface-mobile/ssrf-version.h echo "#define MOBILE_VERSION_STRING \"$MOBILEVERSION\"" >> subsurface-mobile/ssrf-version.h +# create Info.plist with the correct versions +cat Info.plist.in | sed "s/@MOBILE_VERSION@/$MOBILEVERSION/;s/@CANONICAL_VERSION@/$CANONICALVERSION/" > Info.plist + # Build Subsurface-mobile by default SUBSURFACE_MOBILE=1 |