Skip to content

Commit d54658b

Browse files
authored
Fix version script for Wix
1 parent 70356a2 commit d54658b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,11 @@ jobs:
147147
dest: ${{ env.GAME_EXECUTABLE_NAME }}_windows.zip
148148
- name: Create Installer
149149
if: ${{ env.BUILD_INSTALLER }}
150+
shell: bash
150151
run: |
151-
tag="v0.1.0-test.42"
152-
echo "VERSION=${tag#v}" >> $WIX_VERSION
153-
dotnet build -p:Version=$WIX_VERSION -c Release build/windows/installer/Installer.wixproj --output installer
152+
tag=${{ env.VERSION }
153+
version="${tag#v}"
154+
dotnet build -p:Version=$version -c Release build/windows/installer/Installer.wixproj --output installer
154155
- name: Upload release
155156
uses: svenstaro/upload-release-action@v2
156157
with:

0 commit comments

Comments
 (0)