Set version to 999 on unstable builds to avoid triggering auto-update

This commit is contained in:
Tyrrrz
2023-11-24 21:00:18 +02:00
parent d481f73020
commit 116cdc0746
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ jobs:
- name: Publish app
run: >
dotnet publish ${{ matrix.app }}
-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 ${{ matrix.app }}/bin/publish/
--configuration Release