Add "git pull" before compiling to build.bat

(to make sure we get correct version number)
This commit is contained in:
Nikolaj Olsson 2020-01-20 12:00:20 +01:00
parent dc8329ef2b
commit 7c14754dc0

View File

@ -11,6 +11,12 @@ IF /I "%~1" == "--help" GOTO ShowHelp
IF /I "%~1" == "/?" GOTO ShowHelp
IF /I "%~1" == "-?" GOTO ShowHelp
ECHO Getting latest changes...
git pull
ECHO.
ECHO Starting compilation...
REM Set environment variables for Visual Studio command line if necessary
:SetVsCmdLineEnv
IF DEFINED VSINSTALLDIR IF EXIST "%VSINSTALLDIR%" (