Skip to content

Commit

Permalink
feat: update to 2023.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pnoker committed Jul 13, 2023
1 parent a8878fb commit d1519f5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions dc3/bin/tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d1519f5

Please sign in to comment.