Skip to content

Commit

Permalink
Add unciv version as env variable referenced in build
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 authored Jul 28, 2024
1 parent 1e4d861 commit 10abdb0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:

- name: Build WiX on Windows
run: |
set UNCIV_VERSION=4.12.14
wix build .\unciv.wxs
dir
Expand Down
7 changes: 0 additions & 7 deletions Unciv.wixproj

This file was deleted.

2 changes: 1 addition & 1 deletion unciv.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Package Language="1033"
Manufacturer="Yair Morgenstern"
Name="$(var.Name)"
Version="4.12.13"
Version="$(env.UNCIV_VERSION)"
UpgradeCode="74d42802-054a-4869-a703-658c361fe94c">
<Icon Id="icon.ico" SourceFile="files/Unciv.ico"/>
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." Schedule="afterInstallInitialize" />
Expand Down

0 comments on commit 10abdb0

Please sign in to comment.