Remove calling git describe from UpdateVersion.cmd

This commit is contained in:
zilmar 2021-06-11 21:19:28 +09:30
parent 022bd375c6
commit 9ea640f44a
2 changed files with 3 additions and 5 deletions

View File

@ -16,9 +16,7 @@ if not "%~2" == "" set Platform=%~2
if not "%~2" == "" set InFile="%~3"
if not "%~3" == "" set OutFile="%~4"
FOR /F "tokens=1 delims=" %%A in ('git describe --tags --long --dirty') do SET current_tag=%%A
if %Platform%==x64 set BuildMode=%BuildMode%64
echo "%base_dir%\Bin\%BuildMode%\UpdateVersion.exe" %InFile% %OutFile% "%current_tag%"
"%base_dir%\Bin\%BuildMode%\UpdateVersion.exe" %InFile% %OutFile% "%current_tag%"
echo "%base_dir%\Bin\%BuildMode%\UpdateVersion.exe" %InFile% %OutFile%
"%base_dir%\Bin\%BuildMode%\UpdateVersion.exe" %InFile% %OutFile%

View File

@ -111,7 +111,7 @@ std::string GitRevisionShort(CPath & SourceDirectory)
int main()
{
if (__argc < 4)
if (__argc < 3)
{
return 0;
}