Фиксы пайплайна #32

Merged
galeon merged 6 commits from dev into rc 2026-10-24 19:25:21 +00:00
Showing only changes of commit d82a9d0729 - Show all commits
+2 -11
View File
@@ -1,11 +1,4 @@
; Установщик BiLauncher для Windows (Inno Setup 6). #ifndef AppVersion
;
; Собирается в CI после `cmake --install`:
; iscc /DAppVersion=1.0.0 /DSourceDir=C:\...\stage /DOutputDir=C:\...\dist packaging\windows\BiLauncher.iss
; SourceDir — префикс установки: bin\ с BiLauncher.exe и развёрнутым windeployqt Qt,
; share\doc\BiLauncher\ с лицензиями.
#ifndef AppVersion
#error Передайте версию: /DAppVersion=X.Y.Z #error Передайте версию: /DAppVersion=X.Y.Z
#endif #endif
#ifndef SourceDir #ifndef SourceDir
@@ -14,8 +7,7 @@
#ifndef OutputDir #ifndef OutputDir
#define OutputDir "." #define OutputDir "."
#endif #endif
; VersionInfoVersion принимает только числа (X.Y.Z[.W]), поэтому у предрелиза
; (1.0.1-rc1) суффикс отрезаем; полная версия идёт в текстовые поля.
#if Pos("-", AppVersion) > 0 #if Pos("-", AppVersion) > 0
#define NumericVersion Copy(AppVersion, 1, Pos("-", AppVersion) - 1) #define NumericVersion Copy(AppVersion, 1, Pos("-", AppVersion) - 1)
#else #else
@@ -23,7 +15,6 @@
#endif #endif
[Setup] [Setup]
; AppId не менять между версиями — по нему обновление находит прежнюю установку.
AppId={{6E0B5C1D-8F2A-4C7E-9B3D-2A1F4E5C7B90} AppId={{6E0B5C1D-8F2A-4C7E-9B3D-2A1F4E5C7B90}
AppName=BiLauncher AppName=BiLauncher
AppVersion={#AppVersion} AppVersion={#AppVersion}