Browse Source

Merge pull request #474 from trapexit/version

fix versioning with tarball building
pull/475/head 2.24.1
trapexit 7 years ago
committed by GitHub
parent
commit
0545da67ff
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      tools/update-version

3
tools/update-version

@ -6,6 +6,9 @@ if [ "${GIT}" = "" ]; then
fi
VERSION=$(git describe --always --tags --dirty)
if [ $? -ne 0 ]; then
exit 0
fi
echo -n "${VERSION}" > VERSION
grep -q \"${VERSION}\" src/version.hpp

Loading…
Cancel
Save