Skip to content

Commit

Permalink
Set version to 999 on unstable builds to avoid triggering auto-update
Browse files Browse the repository at this point in the history
Tyrrrz committed Nov 24, 2023
1 parent bf20243 commit 58a09ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -79,15 +79,15 @@ jobs:
- name: Publish app
run: >
dotnet publish LightBulb
-p:Version=${{ github.ref_type == 'tag' && github.ref_name || '0.0.0' }}
-p:Version=${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }}
-p:CSharpier_Bypass=true
--output LightBulb/bin/publish/
--configuration Release
- name: Create installer
shell: pwsh
env:
INSTALLER_APP_VERSION: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0' }}
INSTALLER_APP_VERSION: ${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }}
run: |
choco install innosetup --no-progress
Copy-Item -Path LightBulb/bin/publish/ -Recurse -Destination Installer/Source/

0 comments on commit 58a09ff

Please sign in to comment.