mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
use git describe to get the tag+version
This commit is contained in:
parent
79b32a46e5
commit
5afc1d145b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue