Skip to content

Commit 8a75c6f

Browse files
authored
release.sh: allow -rc.X suffixes (#829)
1 parent e6e03e8 commit 8a75c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ case "$REPLY" in
1212
;;
1313
esac
1414

15-
if ! echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$'; then
15+
if ! echo "$VERSION" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$'; then
1616
echo "\$VERSION is not in MAJOR.MINOR.PATCH format"
1717
exit 1
1818
fi

0 commit comments

Comments
 (0)