fix versioning with tarball building

This commit is contained in:
Antonio SJ Musumeci 2018-03-16 23:26:29 -04:00
parent 89200a0ab8
commit 24e690b995

View File

@ -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