Browse Source

fix versioning with tarball building

pull/474/head
Antonio SJ Musumeci 7 years ago
parent
commit
24e690b995
  1. 3
      tools/update-version

3
tools/update-version

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

Loading…
Cancel
Save