From 5afc1d145b471862b7164a240adb3ae37c824222 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