We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e03e8 commit 8a75c6fCopy full SHA for 8a75c6f
1 file changed
release.sh
@@ -12,7 +12,7 @@ case "$REPLY" in
12
;;
13
esac
14
15
-if ! echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
+if ! echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$'; then
16
echo "\$VERSION is not in MAJOR.MINOR.PATCH format"
17
exit 1
18
fi
0 commit comments