aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ios/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-29 21:53:11 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-29 21:53:11 -0800
commit87e05f4db8ca4745fd4331b5437f7325820c9516 (patch)
tree09c9ef0a9423751d543726761f5470de5dafd8dd /packaging/ios/build.sh
parent31c005fa06733bc5e3241d6b77490394fbb11422 (diff)
downloadsubsurface-87e05f4db8ca4745fd4331b5437f7325820c9516.tar.gz
iOS build: add option to build.sh to only update version
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/ios/build.sh')
-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