From 566b0736d392a63b9b9d33ed3e65bebf2878226c Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Fri, 26 Apr 2019 16:14:52 -0700 Subject: [PATCH] Name Windows installers for Release without commit id --- Installers/Windows/BuildInstall.iss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Installers/Windows/BuildInstall.iss b/Installers/Windows/BuildInstall.iss index 525c0a7d..669912b4 100644 --- a/Installers/Windows/BuildInstall.iss +++ b/Installers/Windows/BuildInstall.iss @@ -5,7 +5,7 @@ #include "buildinfo.iss" -#define MyAppVersion MyMajorVersion+"."+MyMinorVersion+"."+MyRevision+"-"+MyReleaseStatus+"-"+MyBuildNumber +#define MyAppVersion MyMajorVersion+"."+MyMinorVersion+"."+MyRevision+"-"+MyReleaseStatus+MyBuildNumber #define MyAppName "OSCAR" #define MyAppPublisher "The OSCAR Team" @@ -36,7 +36,11 @@ AppCopyright=Copyright 2019 {#MyAppPublisher} DefaultDirName={pf}\OSCAR DefaultGroupName={#MyAppName} OutputDir=.\Installer +#if MyReleaseStatus == "r" +OutputBaseFilename={#MyAppName}-{#MyAppVersion}-{#MyPlatform}{#MySuffix} +#else OutputBaseFilename={#MyAppName}-{#MyAppVersion}-{#MyPlatform}-{#MyGitRevision}{#MySuffix} +#endif SetupIconFile=setup.ico Compression=lzma SolidCompression=yes