summaryrefslogtreecommitdiffstats
path: root/packaging/ios/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ios/build.sh')
-rw-r--r--packaging/ios/build.sh3
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