mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
Explicitly mark stable releases as latest
https://cli.github.com/manual/gh_release_create
This commit is contained in:
parent
32e73da8c0
commit
f976c8d46e
1 changed files with 1 additions and 0 deletions
1
.github/workflows/desktop-build.yml
vendored
1
.github/workflows/desktop-build.yml
vendored
|
|
@ -87,6 +87,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
args=()
|
args=()
|
||||||
[[ "$PRERELEASE" == "true" ]] && args+=(--prerelease)
|
[[ "$PRERELEASE" == "true" ]] && args+=(--prerelease)
|
||||||
|
[[ "$PRERELEASE" == "false" ]] && args+=(--latest)
|
||||||
|
|
||||||
gh release create "$TAG_NAME" --verify-tag --draft "${args[@]}" \
|
gh release create "$TAG_NAME" --verify-tag --draft "${args[@]}" \
|
||||||
--target "$TARGET" \
|
--target "$TARGET" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue