mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
create a fresh version file on every build
Don't just append to the existing file. This was incorrect for both iOS and Android. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0a46068501
commit
61169151a0
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ pushd "$BUILDROOT"/subsurface-mobile-build
|
|||
|
||||
# set up the Subsurface versions by hand
|
||||
CANONICALVERSION=$("$SUBSURFACE_SOURCE"/scripts/get-version)
|
||||
echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" >> ssrf-version.h
|
||||
echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" > ssrf-version.h
|
||||
CANONICALVERSION_4=$("$SUBSURFACE_SOURCE"/scripts/get-version 4)
|
||||
echo "#define CANONICAL_VERSION_STRING_4 \"$CANONICALVERSION_4\"" >> ssrf-version.h
|
||||
popd
|
||||
|
|
|
@ -78,7 +78,7 @@ fi
|
|||
|
||||
# set up the Subsurface versions by hand
|
||||
CANONICALVERSION=$("$SUBSURFACE_SOURCE"/scripts/get-version)
|
||||
echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" >> "$SUBSURFACE_SOURCE"/ssrf-version.h
|
||||
echo "#define CANONICAL_VERSION_STRING \"$CANONICALVERSION\"" > "$SUBSURFACE_SOURCE"/ssrf-version.h
|
||||
CANONICALVERSION_4=$("$SUBSURFACE_SOURCE"/scripts/get-version 4)
|
||||
echo "#define CANONICAL_VERSION_STRING_4 \"$CANONICALVERSION_4\"" >> "$SUBSURFACE_SOURCE"/ssrf-version.h
|
||||
|
||||
|
|
Loading…
Reference in a new issue