diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-11-29 21:53:11 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-29 21:53:11 -0800 |
commit | 87e05f4db8ca4745fd4331b5437f7325820c9516 (patch) | |
tree | 09c9ef0a9423751d543726761f5470de5dafd8dd | |
parent | 31c005fa06733bc5e3241d6b77490394fbb11422 (diff) | |
download | subsurface-87e05f4db8ca4745fd4331b5437f7325820c9516.tar.gz |
iOS build: add option to build.sh to only update version
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | packaging/ios/build.sh | 4 |
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 |