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