gitea actions ng4
All checks were successful
Release Plugin / release (push) Successful in 2s

This commit is contained in:
Michael Otto
2026-03-17 09:56:58 +01:00
parent 9982d125b1
commit 2f2e78cc34

View File

@@ -23,20 +23,24 @@ jobs:
id: releaseinfo id: releaseinfo
run: | run: |
TAG="${{ github.ref_name }}" TAG="${{ github.ref_name }}"
VERSION="${TAG#v}" RAW_VERSION="${TAG#v}"
BASE_VERSION="${RAW_VERSION%%-*}"
case "$TAG" in case "$TAG" in
*-testing*|*-t|*-T) *-testing*|*-t|*-T)
CHANNEL="testing" CHANNEL="testing"
PRERELEASE="true" PRERELEASE="true"
VERSION="${BASE_VERSION}-testing"
;; ;;
*-*) *-*)
CHANNEL="unstable" CHANNEL="unstable"
PRERELEASE="true" PRERELEASE="true"
VERSION="${BASE_VERSION}-unstable"
;; ;;
*) *)
CHANNEL="stable" CHANNEL="stable"
PRERELEASE="false" PRERELEASE="false"
VERSION="${BASE_VERSION}"
;; ;;
esac esac