Skip to content

Commit b61a459

Browse files
committed
chore: Small fix to the release script (#334)
Signed-off-by: jannfis <[email protected]>
1 parent d475a67 commit b61a459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414

1515
TARGET_TAG="v${TARGET_VERSION}"
1616

17-
if ! echo "${TARGET_VERSION}" | egrep -q '^[0-9]\.[0-9]\.[0-9]$'; then
17+
if ! echo "${TARGET_VERSION}" | egrep -q '^[0-9]+\.[0-9]+\.[0-9]+$'; then
1818
echo "Error: Target version '${TARGET_VERSION}' is not well-formed. Must be X.Y.Z" >&2
1919
exit 1
2020
fi

0 commit comments

Comments
 (0)