Anpassung der Tag-Verarbeitung für korrekte Release-Namen
All checks were successful
Release Plugin / release (push) Successful in 5s
All checks were successful
Release Plugin / release (push) Successful in 5s
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user