Skip to content

Commit 52524cf

Browse files
committed
Fix .msi Builder
1 parent 27a3f67 commit 52524cf

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ jobs:
5555
- name: Install WiX Toolset
5656
run: choco install wixtoolset -y
5757

58+
- name: Add WiX to PATH
59+
run: echo "$((Get-Item (Get-Command candle.exe).Source).Directory.FullName)" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
60+
shell: pwsh
61+
5862
- name: Generate GUIDs and update WXS file
5963
shell: pwsh
6064
run: |
@@ -66,8 +70,8 @@ jobs:
6670
6771
- name: Build MSI installer
6872
run: |
69-
& "C:\Program Files (x86)\WiX ToolSet v3.11\bin\candle.exe" -dSourceDir=. -out installer.wixobj installer/installer.wxs
70-
& "C:\Program Files (x86)\WiX ToolSet v3.11\bin\light.exe" -out stackmatch-${{ needs.build-executables.outputs.tag_name }}.msi installer.wixobj
73+
candle.exe -dSourceDir=. -out installer.wixobj installer/installer.wxs
74+
light.exe -out stackmatch-${{ needs.build-executables.outputs.tag_name }}.msi installer.wixobj
7175
shell: pwsh
7276

7377
- name: Upload MSI artifact

cmd/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"github.com/spf13/cobra"
77
)
88

9-
const cliVersion = "0.2.8" // Define the current version
9+
const cliVersion = "0.2.9" // Define the current version
1010

1111
var versionCmd = &cobra.Command{
1212
Use: "version",

0 commit comments

Comments
 (0)