From a4a9edcd0fa32230b6a279b249fe07243393b584 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 14 Mar 2016 06:59:04 -0700 Subject: iOS build: create Info.plist with correct version information Signed-off-by: Dirk Hohndel --- packaging/ios/build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packaging/ios/build.sh') 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 -- cgit v1.2.3-70-g09d2