Skip to content

Commit bf18ace

Browse files
bug: Fix undefined Inno AppVersion (#462)
1 parent ef20087 commit bf18ace

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,7 @@ jobs:
211211
uses: Minionguyjpro/Inno-Setup-Action@v1.2.2
212212
with:
213213
path: windows/windows_setup.iss
214-
options: /O+
215-
env:
216-
FLADDER_VERSION: ${{ needs.fetch-info.outputs.version_name }}
214+
options: /O+ /DFLADDER_VERSION="${{ needs.fetch-info.outputs.version_name }}"
217215

218216
- name: Archive Windows portable artifact
219217
uses: actions/upload-artifact@v4.0.0

windows/windows_setup.iss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#define SourcePath ".."
22

3+
#ifndef FLADDER_VERSION
4+
#define FLADDER_VERSION "latest"
5+
#endif
6+
37
[Setup]
48
AppId={{D573EDD5-117A-47AD-88AC-62C8EBD11DC7}
59
AppName="Fladder"
6-
AppVersion={%FLADDER_VERSION|latest}
10+
AppVersion={#FLADDER_VERSION}
711
AppPublisher="DonutWare"
812
AppPublisherURL="https://github.com/DonutWare/Fladder"
913
AppSupportURL="https://github.com/DonutWare/Fladder"

0 commit comments

Comments
 (0)