added env vars for stage/prod and updated gdrive upload for production (separate folder).

This commit is contained in:
Denys Zaitsev
2025-07-03 12:49:24 +03:00
parent bb6413c4f0
commit eac6460645
4 changed files with 84 additions and 40 deletions
+15 -1
View File
@@ -1,5 +1,12 @@
#define MyAppVersion GetFileVersion("..\dist-azaion\Azaion.Suite.exe")
; Define a variable for the build environment, e.g., "Stage" or "Prod"
; This will be set by your Jenkins pipeline using the /D switch.
; If not defined via /D, it defaults to "Stage".
#ifndef MY_BUILD_ENV
#define MY_BUILD_ENV "Stage" ; Default to Stage if not specified (e.g., when compiling manually without /D)
#endif
[Setup]
AppId={{CCFEC8E2-0FCC-4B03-8EEA-00AF20D265E5}}
AppName=Azaion Suite
@@ -9,7 +16,14 @@ AppPublisher=Azaion LLC
DefaultDirName={localappdata}\Azaion\Azaion Suite
DefaultGroupName=Azaion Suite
OutputDir=..\
OutputBaseFilename=AzaionSuite.Iterative.{#MyAppVersion}
; Conditional OutputBaseFilename based on MY_BUILD_ENV
#if MY_BUILD_ENV == "Prod"
OutputBaseFilename=AzaionSuite.Iterative.Prod.{#MyAppVersion}
#else
OutputBaseFilename=AzaionSuite.Iterative.Stage.{#MyAppVersion} ; Defaults to Stage if MY_BUILD_ENV is not "Prod"
#endif
SetupIconFile=..\dist-azaion\logo.ico
UninstallDisplayName=Azaion Suite
UninstallDisplayIcon={app}\Azaion.Suite.exe