From cb9494effafb542416b68b1590836a0ff32b9afe Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Wed, 9 Apr 2014 12:27:29 -0400 Subject: [PATCH] use git describe to get the tag+version --- comptime.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comptime.sh b/comptime.sh index 1bd35b629..703bb2d35 100755 --- a/comptime.sh +++ b/comptime.sh @@ -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 < $path/comptime.h // Do not edit! This file was autogenerated