mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Fix "-pluis" notation on Windows builds
This commit is contained in:
parent
39e243a36d
commit
2a03ff6c57
@ -10,7 +10,7 @@ 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
|
for /f %%i in ('git diff-index --quiet HEAD --') do set GIT_INDEX=%%i
|
||||||
if "%GIT_INDEX%"=="" (
|
if "%GIT_INDEX%"!=="" (
|
||||||
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