Make Windows build process work without GIT

This commit is contained in:
Guy Scharf 2020-02-12 19:45:12 -07:00
parent 0ee827b294
commit 3886543c40
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,10 @@
; ;
; See DEPLOY.BAT for documentation on how this is used to build OSCAR installer ; See DEPLOY.BAT for documentation on how this is used to build OSCAR installer
#define MyGitRevision "unreleased"
#define MyReleaseStatus ""
#define MyVersionNumbers "0.0.0.0"
#include "buildinfo.iss" #include "buildinfo.iss"
#define MyAppPublisher "The OSCAR Team" #define MyAppPublisher "The OSCAR Team"

View File

@ -25,7 +25,6 @@ if errorlevel 1 goto GitFail
goto GitDone goto GitDone
:GitFail :GitFail
set GIT_REVISION="private"
:GitDone :GitDone
@echo Update_gtinfo.bat: GIT_BRANCH=%GIT_BRANCH%, GIT_REVISION=%GIT_REVISION%, GIT_TAG=%GIT_TAG% @echo Update_gtinfo.bat: GIT_BRANCH=%GIT_BRANCH%, GIT_REVISION=%GIT_REVISION%, GIT_TAG=%GIT_TAG%