mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
use git describe to get the tag+version
This commit is contained in:
parent
cec63aa4c0
commit
cb9494effa
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ if [ x"$1" != x ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
versiongit() {
|
versiongit() {
|
||||||
gitversion=`git svn log HEAD --limit=1 --oneline | cut -f 1 -d " "`
|
gitversion=`git describe`
|
||||||
cat <<EOF > $path/comptime.h
|
cat <<EOF > $path/comptime.h
|
||||||
|
|
||||||
// Do not edit! This file was autogenerated
|
// Do not edit! This file was autogenerated
|
||||||
|
|
Loading…
Reference in a new issue