Stop marking releases as pre-release by default
Lint / ShellCheck (push) Successful in 11s
Lint / Validate .plg XML (push) Successful in 12s
Lint / EditorConfig (push) Successful in 4s

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:
2026-07-12 23:39:17 +00:00
co-authored by Claude Sonnet 5
parent 166f0d96d1
commit 1ca78e7115
+5 -4
View File
@@ -107,10 +107,11 @@ jobs:
run: | run: |
set -eu set -eu
API="https://${GITEA_HOST}/api/v1/repos/${GITEA_REPO}" API="https://${GITEA_HOST}/api/v1/repos/${GITEA_REPO}"
case "${{ steps.version.outputs.value }}" in # Every release is a normal release, not a "pre-release" — the
0.*) prerelease=true ;; # earlier 0.x-is-always-prerelease default didn't match what
*) prerelease=false ;; # this project actually wants published (v0.1.3 was explicitly
esac # corrected off "pre-release" after the fact).
prerelease=false
# Idempotent: if a release for this tag already exists (e.g. a # Idempotent: if a release for this tag already exists (e.g. a
# re-run after a transient failure), delete it first rather than # re-run after a transient failure), delete it first rather than