current tag not latest

This commit is contained in:
corey 2023-12-20 11:07:31 -06:00
parent 2593fd10c7
commit cd8c56a137

View File

@ -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
}