From b02c92d445c2e26f27e6dc12485f79b4b159b346 Mon Sep 17 00:00:00 2001 From: kayone Date: Tue, 26 Nov 2013 17:08:28 -0800 Subject: [PATCH] added branch version to generated setup file. --- setup/nzbdrone.iss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup/nzbdrone.iss b/setup/nzbdrone.iss index 552467251..872199581 100644 --- a/setup/nzbdrone.iss +++ b/setup/nzbdrone.iss @@ -7,6 +7,8 @@ #define ForumsURL "http://forums.nzbdrone.com/" #define AppExeName "NzbDrone.exe" #define BuildNumber "2.0" +#define BuildNumber GetEnv('BUILD_NUMBER') +#define BranchName GetEnv('branch') [Setup] ; NOTE: The value of AppId uniquely identifies this application. @@ -14,7 +16,7 @@ ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.) AppId={{56C1065D-3523-4025-B76D-6F73F67F7F71} AppName={#AppName} -AppVersion={#BuildNumber} +AppVersion=2.0 AppPublisher={#AppPublisher} AppPublisherURL={#AppURL} AppSupportURL={#ForumsURL} @@ -23,7 +25,7 @@ DefaultDirName={commonprograms}\{#AppName}\bin DisableDirPage=yes DefaultGroupName={#AppName} DisableProgramGroupPage=yes -OutputBaseFilename=NzbDroneSetup +OutputBaseFilename=NzbDrone.{#BranchName}.{#BuildNumber} SolidCompression=yes AppCopyright=Creative Commons 3.0 License AllowUNCPath=False