commit 342557527accc69dbbb746d5144d3078b211c7b0 parent 1a383ebc6b4a14a1b3325278e2064f35bd27f6c3 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun, 3 May 2020 10:40:03 +0300 Ignore tags because appveyor keeps making them Diffstat:
M | ggbuild/git_version.lua | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/ggbuild/git_version.lua b/ggbuild/git_version.lua @@ -5,11 +5,7 @@ local function exec( cmd ) return res or "" end -local version = exec( "git tag --points-at HEAD" ) -if version == "" then - version = exec( "git rev-parse --short HEAD" ) -end - +local version = exec( "git rev-parse --short HEAD" ) local gitversion = "#define APP_VERSION \"" .. version .. "\"\n" local r = io.open( "src/gitversion.h", "r" )