current tag not latest
This commit is contained in:
parent
2593fd10c7
commit
cd8c56a137
@ -2,7 +2,7 @@
|
||||
|
||||
main()
|
||||
{
|
||||
local VERSION="$(git tag --list|tail -1)"
|
||||
local VERSION="$(git describe --abbrev=0 --tags)"
|
||||
echo "#pragma once" > version.h
|
||||
echo "#define VERSION \"$VERSION\"" >> version.h
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user