Correct version identification in Windows builds.

This commit is contained in:
Guy Scharf 2020-03-20 10:17:28 -07:00
parent 59dfb4fcf2
commit 0071a44f9e

View File

@ -12,7 +12,7 @@ git rev-parse --git-dir >nul 2>&1
if errorlevel 1 goto GitFail
for /f %%i in ('git rev-parse --abbrev-ref HEAD') do set GIT_BRANCH=%%i
if "%GIT_BRANCH%"=="HEAD" set GIT_BRANCH=""
if "%GIT_BRANCH%"=="HEAD" set GIT_BRANCH=
for /f %%i in ('git rev-parse --short HEAD') do set GIT_REVISION=%%i
git diff-index --quiet HEAD --