This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user