Stop marking releases as pre-release by default
The 0.x-is-always-prerelease default didn't match what this project actually wants — v0.1.3 was explicitly unmarked as pre-release right after publishing. Every release is now just a normal release. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -107,10 +107,11 @@ jobs:
|
||||
run: |
|
||||
set -eu
|
||||
API="https://${GITEA_HOST}/api/v1/repos/${GITEA_REPO}"
|
||||
case "${{ steps.version.outputs.value }}" in
|
||||
0.*) prerelease=true ;;
|
||||
*) prerelease=false ;;
|
||||
esac
|
||||
# Every release is a normal release, not a "pre-release" — the
|
||||
# earlier 0.x-is-always-prerelease default didn't match what
|
||||
# this project actually wants published (v0.1.3 was explicitly
|
||||
# corrected off "pre-release" after the fact).
|
||||
prerelease=false
|
||||
|
||||
# Idempotent: if a release for this tag already exists (e.g. a
|
||||
# re-run after a transient failure), delete it first rather than
|
||||
|
||||
Reference in New Issue
Block a user