summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/ios/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/ios/build.sh b/packaging/ios/build.sh
index ee8e985ed..9510936fb 100644
--- a/packaging/ios/build.sh
+++ b/packaging/ios/build.sh
@@ -32,6 +32,10 @@ echo "#define MOBILE_VERSION_STRING \"$MOBILEVERSION\"" >> subsurface-mobile/ssr
# create Info.plist with the correct versions
cat Info.plist.in | sed "s/@MOBILE_VERSION@/$MOBILEVERSION/;s/@CANONICAL_VERSION@/$CANONICALVERSION/" > Info.plist
+if [ "$1" = "version" ] ; then
+ exit 0
+fi
+
# Build Subsurface-mobile by default
SUBSURFACE_MOBILE=1