Skip to content

Commit 23efa83

Browse files
committed
Fixed installer version CI
1 parent 85c698f commit 23efa83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/demo.workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929

3030
- name: Set version (Release)
3131
if: startsWith(github.ref, 'refs/tags/v') == true
32-
run: echo '#define MyAppVersion "${{ steps.tag.outputs.version-without-v }}"' > version.txt
32+
run: echo '#define MyAppVersion "${{ steps.tag.outputs.version-without-v }}"' > launcher/windows/version.txt
3333

3434
- name: Set version
3535
if: startsWith(github.ref, 'refs/tags/v') != true
36-
run: echo '#define MyAppVersion "1.0-${{ github.sha }}"' > version.txt
36+
run: echo '#define MyAppVersion "1.0-${{ github.sha }}"' > launcher/windows/version.txt
3737

3838
- name: Build Windows Installer
3939
run: .\launcher\windows\build.ps1

0 commit comments

Comments
 (0)