feat: update to 2023.4.5

This commit is contained in:
pnoker
2023-07-13 23:51:43 +08:00
parent bbf5571b92
commit 8c1477ae6f
+9 -3
View File
@@ -25,17 +25,23 @@ type=""
# shellcheck disable=SC2092
# shellcheck disable=SC2006
if `git status | grep "develop" &>/dev/null`; then
type="develop"
type="test"
fi
# shellcheck disable=SC2092
# shellcheck disable=SC2006
if `git status | grep "pre" &>/dev/null`; then
type="pre"
fi
# shellcheck disable=SC2092
# shellcheck disable=SC2006
if `git status | grep "release" &>/dev/null`; then
type="release"
type="pro"
fi
if [[ ${type} == "" ]]; then
echo -e "This branch doesn't support tagging, please switch to the \033[31mdevelop\033[0m or \033[31mrelease\033[0m branch."
echo -e "This branch doesn't support tagging, please switch to the \033[31mdevelop\033[0m, \033[31mpre\033[0m or \033[31mrelease\033[0m branch."
exit
fi