ci: Simplify script [skip ci]

This commit is contained in:
Ahmad Ansori Palembani 2024-08-14 09:07:59 +07:00
parent e33addcae3
commit 480d5a3f61
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -132,8 +132,7 @@ jobs:
stage=""
case "${{ env.VERSION_TAG }}" in
v*)
_test=$(echo "${{ env.VERSION_TAG }}" | grep "v*-b")
[ "$_test" = "" ] && stage="release" || stage="beta"
[ "$(echo '${{ env.VERSION_TAG }}' | grep 'v*-b')" = "" ] && stage="release" || stage="beta"
;;
r*) stage="nightly" ;;
esac