use git describe to get the tag+version
This commit is contained in:
1 parent
cec63aa4c0
commit
cb9494effa
1 file changed
+1
-1
+1
-1
@@ -5,7 +5,7 @@ if [ x"$1" != x ]; then
|
||||
fi
|
||||
|
||||
versiongit() {
|
||||
gitversion=`git svn log HEAD --limit=1 --oneline | cut -f 1 -d " "`
|
||||
gitversion=`git describe`
|
||||
cat <<EOF > $path/comptime.h
|
||||
|
||||
// Do not edit! This file was autogenerated
|
||||
|
||||
Reference in new issue
Block a user