Update git version script

This commit is contained in:
o9000 2015-04-25 22:57:06 +02:00
parent aecd658d2b
commit 0d7dfc082d

View file

@ -32,3 +32,4 @@ fi
VERSION=$(git describe --exact-match 2>/dev/null || echo "0.11-git$(git show -s --pretty=format:%cI.%h | tr -d ':' | tr -d '-' | tr '.' '-' | sed 's/T[0-9\+]*//g')")$DIRTY
echo '#define VERSION_STRING "'$VERSION'"' > version.h
echo $VERSION