From 557eb744a3d7a04c8f2283bbcfc90a8143e7f407 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 10 Mar 2016 06:35:40 -0800 Subject: Make sure version is freshly generated before extracting Oops, so Subsurface-mobile 1.0 (4.5.2.1048) Signed-off-by: Dirk Hohndel --- packaging/android/build.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packaging/android/build.sh') diff --git a/packaging/android/build.sh b/packaging/android/build.sh index 788e00231..17ccb03b3 100644 --- a/packaging/android/build.sh +++ b/packaging/android/build.sh @@ -356,6 +356,8 @@ sed -i -e "s/-lcrypto//g" CMakeFiles/subsurface-mobile.dir/link.txt # set up the version number +rm ssrf-version.h +make version SUBSURFACE_MOBILE_VERSION=$(grep MOBILE_VERSION_STRING ssrf-version.h | awk '{ print $3 }' | tr -d \" ) SUBSURFACE_MOBILE_VERSION="${SUBSURFACE_MOBILE_VERSION} ($(grep CANONICAL_VERSION_STRING ssrf-version.h | awk '{ print $3 }' | tr -d \"))" -- cgit v1.2.3-70-g09d2