File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,11 @@ if [ $is_pre_release = false ]; then
1212 echo " $current_tag " | grep -E " [0-9]*\.[0-9]*\.[0-9]*$"
1313 if [ $? != 0 ]; then
1414 echo " Error: Your tag: $current_tag is wrongly formatted."
15- echo " Please refer to the contributing guide for help."
15+ echo ' Please refer to the contributing guide for help.'
1616 exit 1
1717 fi
1818 exit 0
19- fi
20-
21- if [ $is_pre_release = true ]; then
19+ elif [ $is_pre_release = true ]; then
2220 # Works with the format vX.X.X-xxx-beta.X
2321 # none or multiple -xxx are valid
2422 #
@@ -30,8 +28,10 @@ if [ $is_pre_release = true ]; then
3028
3129 if [ $? != 0 ]; then
3230 echo " Error: Your beta tag: $current_tag is wrongly formatted."
33- echo " Please refer to the contributing guide for help."
31+ echo ' Please refer to the contributing guide for help.'
3432 exit 1
3533 fi
3634 exit 0
3735fi
36+
37+ exit 0
You can’t perform that action at this time.
0 commit comments