Anpassung der Tag-Verarbeitung für korrekte Release-Namen
All checks were successful
Release Plugin / release (push) Successful in 5s

This commit is contained in:
Michael Otto
2026-03-13 09:34:39 +01:00
parent 23827bbd13
commit 3d3dc098d5

View File

@@ -41,22 +41,24 @@ jobs:
run: |
TAG="${{ github.ref_name }}"
if [[ "$TAG" =~ ^t ]]; then
if [[ "$TAG" =~ ^v ]]; then
VERSION="${TAG#v}"
CHANNEL="stable"
DRAFT="false"
PRERELEASE="false"
elif [[ "$TAG" =~ ^t ]]; then
VERSION="${TAG#t}"
TAG="v${VERSION}-testing"
CHANNEL="testing"
DRAFT="false"
PRERELEASE="true"
elif [[ "$TAG" =~ ^u ]]; then
VERSION="${TAG#u}"
TAG="v${VERSION}-unstable"
CHANNEL="unstable"
DRAFT="false"
PRERELEASE="true"
else
# Falscheingaben als unstable behandeln
VERSION="${TAG#v}"
TAG="v${VERSION}-unstable"
# Fallback für andere Prefixe, z.B. x26.3.1 -> 26.3.1-unstable
VERSION="${TAG#?}"
CHANNEL="unstable"
DRAFT="false"
PRERELEASE="true"