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
run: |
TAG="${{ github.ref_name }}"
VERSION="${TAG#v}"
RAW_VERSION="${TAG#v}"
BASE_VERSION="${RAW_VERSION%%-*}"
case "$TAG" in
*-testing*|*-t|*-T)
CHANNEL="testing"
PRERELEASE="true"
VERSION="${BASE_VERSION}-testing"
;;
*-*)
CHANNEL="unstable"
PRERELEASE="true"
VERSION="${BASE_VERSION}-unstable"
;;
*)
CHANNEL="stable"
PRERELEASE="false"
VERSION="${BASE_VERSION}"
;;
esac