mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
revert release check from this PR
This commit is contained in:
parent
0dac21e921
commit
13ab37dc74
1 changed files with 6 additions and 10 deletions
16
.github/workflows/desktop-build.yml
vendored
16
.github/workflows/desktop-build.yml
vendored
|
|
@ -86,17 +86,13 @@ jobs:
|
||||||
body_path: ${{ steps.prepare.outputs.body_path }}
|
body_path: ${{ steps.prepare.outputs.body_path }}
|
||||||
prerelease: ${{ steps.prepare.outputs.is_beta }}
|
prerelease: ${{ steps.prepare.outputs.is_beta }}
|
||||||
run: |
|
run: |
|
||||||
if gh release view "$tag_name" >/dev/null 2>&1; then
|
args=()
|
||||||
echo "::warning::Release $tag_name already exists"
|
[[ $prerelease == yes ]] && args+=(--prerelease)
|
||||||
else
|
|
||||||
args=()
|
|
||||||
[[ $prerelease == yes ]] && args+=(--prerelease)
|
|
||||||
|
|
||||||
gh release create "$tag_name" --verify-tag --draft "${args[@]}" \
|
gh release create "$tag_name" --verify-tag --draft "${args[@]}" \
|
||||||
--target "$target" \
|
--target "$target" \
|
||||||
--title "$release_name" \
|
--title "$release_name" \
|
||||||
--notes-file "$body_path"
|
--notes-file "$body_path"
|
||||||
fi
|
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue