We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34163c0 commit e32b19dCopy full SHA for e32b19d
release.sh
@@ -38,7 +38,7 @@ NUMRE="0|[1-9][0-9]*"
38
PRERE="\-(alpha|beta|rc)\.[1-9][0-9]*"
39
40
# check that we are in a release branch
41
-if ! [[ "$CUR_BRANCH" =~ ^v($NUMRE)\.($NUMRE)\.($NUMRE)($PRERE)?$ ]]; then
+if ! [[ "$CUR_BRANCH" =~ ^v($NUMRE)\.($NUMRE)\.x$ ]]; then
42
echo "branch: \"$CUR_BRANCH\" is not a release branch, please create a release branch in the form of vX.Y.x"
43
exit 1
44
fi
0 commit comments