Ermittlung Kanal angepasst
All checks were successful
Release Plugin / release (push) Successful in 4s

This commit is contained in:
Michael Otto
2026-03-13 10:39:55 +01:00
parent 524c26e64e
commit dd2f7287c5

View File

@@ -40,45 +40,28 @@ jobs:
id: releaseinfo id: releaseinfo
run: | run: |
TAG="${{ github.ref_name }}" TAG="${{ github.ref_name }}"
VERSION="${TAG#v}"
case "$TAG" in case "$TAG" in
*-unstable*) *-unstable*)
VERSION="${TAG%-unstable}"
VERSION="${VERSION#v}"
CHANNEL="unstable" CHANNEL="unstable"
DRAFT="false" DRAFT="false"
PRERELEASE="true" PRERELEASE="true"
;; ;;
*-testing*) *-testing*)
VERSION="${TAG%-testing}"
VERSION="${VERSION#v}"
CHANNEL="testing" CHANNEL="testing"
DRAFT="false" DRAFT="false"
PRERELEASE="true" PRERELEASE="true"
;; ;;
v*) *-*)
VERSION="${TAG#v}"
CHANNEL="stable"
DRAFT="false"
PRERELEASE="false"
;;
t*)
VERSION="${TAG#t}"
CHANNEL="testing"
DRAFT="false"
PRERELEASE="true"
;;
u*)
VERSION="${TAG#u}"
CHANNEL="unstable" CHANNEL="unstable"
DRAFT="false" DRAFT="false"
PRERELEASE="true" PRERELEASE="true"
;; ;;
*) *)
VERSION="${TAG#?}" CHANNEL="stable"
CHANNEL="unstable"
DRAFT="false" DRAFT="false"
PRERELEASE="true" PRERELEASE="false"
;; ;;
esac esac