mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
ci: Simplify script [skip ci]
This commit is contained in:
parent
e33addcae3
commit
480d5a3f61
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build_push.yml
vendored
3
.github/workflows/build_push.yml
vendored
|
@ -132,8 +132,7 @@ jobs:
|
||||||
stage=""
|
stage=""
|
||||||
case "${{ env.VERSION_TAG }}" in
|
case "${{ env.VERSION_TAG }}" in
|
||||||
v*)
|
v*)
|
||||||
_test=$(echo "${{ env.VERSION_TAG }}" | grep "v*-b")
|
[ "$(echo '${{ env.VERSION_TAG }}' | grep 'v*-b')" = "" ] && stage="release" || stage="beta"
|
||||||
[ "$_test" = "" ] && stage="release" || stage="beta"
|
|
||||||
;;
|
;;
|
||||||
r*) stage="nightly" ;;
|
r*) stage="nightly" ;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue