mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 15:53:30 -07:00
Set version to 999 on unstable builds to avoid triggering auto-update
This commit is contained in:
parent
d481f73020
commit
116cdc0746
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
docker buildx build .
|
docker buildx build .
|
||||||
--file DiscordChatExporter.Cli.dockerfile
|
--file DiscordChatExporter.Cli.dockerfile
|
||||||
--platform linux/amd64,linux/arm64
|
--platform linux/amd64,linux/arm64
|
||||||
--build-arg VERSION=${{ github.ref_type == 'tag' && github.ref_name || '0.0.0' }}
|
--build-arg VERSION=${{ github.ref_type == 'tag' && github.ref_name || format('999.9.9-ci-{0}', github.sha) }}
|
||||||
--push
|
--push
|
||||||
--tag tyrrrz/discordchatexporter:latest
|
--tag tyrrrz/discordchatexporter:latest
|
||||||
${{ github.ref_type == 'tag' && '--tag tyrrrz/discordchatexporter:$GITHUB_REF_NAME' || '' }}
|
${{ github.ref_type == 'tag' && '--tag tyrrrz/discordchatexporter:$GITHUB_REF_NAME' || '' }}
|
||||||
|
|
|
||||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
- name: Publish app
|
- name: Publish app
|
||||||
run: >
|
run: >
|
||||||
dotnet publish ${{ matrix.app }}
|
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
|
-p:CSharpier_Bypass=true
|
||||||
--output ${{ matrix.app }}/bin/publish/
|
--output ${{ matrix.app }}/bin/publish/
|
||||||
--configuration Release
|
--configuration Release
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue