Skip to content
This repository was archived by the owner on Sep 26, 2021. It is now read-only.

Commit 6b7aef1

Browse files
Update release version regex
Signed-off-by: Nathan LeClaire <[email protected]>
1 parent 6388242 commit 6b7aef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if [[ -z "${VERSION}" ]]; then
4040
exit 1
4141
fi
4242

43-
if [[ ! "${VERSION}" =~ ^[0-9]\.[0-9](\.[0-9])?(-rc[1-9][0-9]*)?$ ]]; then
43+
if [[ ! "${VERSION}" =~ ^[0-9]\.[0-9]+(\.[0-9])+(-rc[1-9][0-9]*)?$ ]]; then
4444
echo "Invalid version. It should look like 0.5.1, 0.6 or 0.5.1-rc2"
4545
exit 1
4646
fi

0 commit comments

Comments
 (0)