Skip to content

Commit b6744d8

Browse files
committed
[Remove::workflow] delete echo in branch-name-sh
1 parent 50dc13d commit b6744d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/shell/branch-name.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
branchType="feature|hotfix|improve|chore"
22

3-
if [[ $1 =~ ^($branchType)/[a-z]+(-[a-z]+)*$ ]];then
4-
echo "success"
3+
if [[ $1 =~ ^($branchType)/[a-z]+(-[a-z]+)*$ ]]
4+
then
55
exit 0
66
else
7-
echo "erroe"
87
exit 1
98
fi

0 commit comments

Comments
 (0)