From 87e05f4db8ca4745fd4331b5437f7325820c9516 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 29 Nov 2017 21:53:11 -0800 Subject: iOS build: add option to build.sh to only update version Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packaging') 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 -- cgit v1.2.3-70-g09d2