From 3886543c400449ce34616d041a6dbb2c161efd33 Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Wed, 12 Feb 2020 19:45:12 -0700 Subject: [PATCH] Make Windows build process work without GIT --- Building/Windows/BuildInstall.iss | 4 ++++ oscar/update_gitinfo.bat | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Building/Windows/BuildInstall.iss b/Building/Windows/BuildInstall.iss index bd562061..f19368f2 100644 --- a/Building/Windows/BuildInstall.iss +++ b/Building/Windows/BuildInstall.iss @@ -3,6 +3,10 @@ ; ; 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" #define MyAppPublisher "The OSCAR Team" diff --git a/oscar/update_gitinfo.bat b/oscar/update_gitinfo.bat index 6b9314f4..5e695421 100755 --- a/oscar/update_gitinfo.bat +++ b/oscar/update_gitinfo.bat @@ -25,7 +25,6 @@ if errorlevel 1 goto GitFail goto GitDone :GitFail - set GIT_REVISION="private" :GitDone @echo Update_gtinfo.bat: GIT_BRANCH=%GIT_BRANCH%, GIT_REVISION=%GIT_REVISION%, GIT_TAG=%GIT_TAG% @@ -50,4 +49,4 @@ echo Updating %DIR%git_info.h move /y %DIR%git_info.new %DIR%git_info.h :AllDone -endlocal \ No newline at end of file +endlocal