From 7c14754dc05787b57f7480138b5bd9e9d2379f8e Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Mon, 20 Jan 2020 12:00:20 +0100 Subject: [PATCH] Add "git pull" before compiling to build.bat (to make sure we get correct version number) --- build.bat | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.bat b/build.bat index 971867298..61874bb20 100644 --- a/build.bat +++ b/build.bat @@ -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%" (