Skip to content

Commit

Permalink
Fix msi installer build
Browse files Browse the repository at this point in the history
This works around an issue where wix was pulling pre-release extensions
and thus breaking compatibility with our used wix version.
  • Loading branch information
chrisduerr committed Mar 23, 2024
1 parent fd1a3cc commit 4e443fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
./.github/workflows/upload_asset.sh \
./Alacritty-${GITHUB_REF##*/}-portable.exe $GITHUB_TOKEN
- name: Install WiX
run: dotnet tool install --global wix --version 4.0.1
- name: Crate msi installer
run: dotnet tool install --global wix --version 4.0.5
- name: Create msi installer
run: |
wix extension add WixToolset.UI.wixext WixToolset.Util.wixext
wix extension add WixToolset.UI.wixext/4.0.5 WixToolset.Util.wixext/4.0.5
wix build -arch "x64" -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext \
-out "./Alacritty-${GITHUB_REF##*/}-installer.msi" "alacritty/windows/wix/alacritty.wxs"
- name: Upload msi installer
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_asset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ $# -lt 2 ]; then
exit 1
fi

repo="alacritty/alacritty"
repo="chrisduerr/alacritty"
file_path=$1
bearer=$2

Expand Down

0 comments on commit 4e443fb

Please sign in to comment.