Commit 4a4e2ae 1 parent af8ff34 commit 4a4e2ae Copy full SHA for 4a4e2ae
File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,23 @@ type=""
23
23
# shellcheck disable=SC2092
24
24
# shellcheck disable=SC2006
25
25
if ` git status | grep " develop" & > /dev/null` ; then
26
- type=" test "
26
+ type=" develop "
27
27
fi
28
28
29
29
# shellcheck disable=SC2092
30
30
# shellcheck disable=SC2006
31
- if ` git status | grep " pre " & > /dev/null` ; then
32
- type=" pre "
31
+ if ` git status | grep " release " & > /dev/null` ; then
32
+ type=" release "
33
33
fi
34
34
35
35
# shellcheck disable=SC2092
36
36
# shellcheck disable=SC2006
37
- if ` git status | grep " release " & > /dev/null` ; then
38
- type=" pro "
37
+ if ` git status | grep " main " & > /dev/null` ; then
38
+ type=" release "
39
39
fi
40
40
41
41
if [[ ${type} == " " ]]; then
42
- 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."
42
+ echo -e " This branch doesn't support tagging, please switch to the \033[31mdevelop\033[0m or \033[31mrelease\033[0m branch."
43
43
exit
44
44
fi
45
45
You can’t perform that action at this time.
0 commit comments