Ermittlung Kanal angepasst
All checks were successful
Release Plugin / release (push) Successful in 4s
All checks were successful
Release Plugin / release (push) Successful in 4s
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user