mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 12:10:43 +00:00
Fix, again, the "-plus" notation in Windows build process.
This commit is contained in:
parent
da29e35766
commit
ef26ab5e46
@ -9,8 +9,8 @@ if "%GIT_DIR%"=="" goto GitDone
|
|||||||
for /f %%i in ('git rev-parse --abbrev-ref HEAD') do set GIT_BRANCH=%%i
|
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
|
for /f %%i in ('git rev-parse --short HEAD') do set GIT_REVISION=%%i
|
||||||
for /f %%i in ('git diff-index --quiet HEAD --') do set GIT_INDEX=%%i
|
git diff-index --quiet HEAD --
|
||||||
if "%GIT_INDEX%"!=="" (
|
if %ERRORLEVEL% NEQ 0 (
|
||||||
set GIT_REVISION=%GIT_REVISION%-plus
|
set GIT_REVISION=%GIT_REVISION%-plus
|
||||||
set GIT_TAG=
|
set GIT_TAG=
|
||||||
goto GitDone
|
goto GitDone
|
||||||
|
Loading…
Reference in New Issue
Block a user