Skip to content

Commit

Permalink
Fixed installer version CI
Browse files Browse the repository at this point in the history
  • Loading branch information
themarpe committed Jul 20, 2022
1 parent 85c698f commit 23efa83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/demo.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ jobs:

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

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

- name: Build Windows Installer
run: .\launcher\windows\build.ps1
Expand Down

0 comments on commit 23efa83

Please sign in to comment.