summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
Diffstat (limited to 'hack')
-rwxr-xr-xhack/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/release.sh b/hack/release.sh
index 9819f10..3d28927 100755
--- a/hack/release.sh
+++ b/hack/release.sh
@@ -14,7 +14,7 @@ fi
TARGET_TAG="v${TARGET_VERSION}"
-if ! echo "${TARGET_VERSION}" | egrep -q '^[0-9]\.[0-9]\.[0-9]$'; then
+if ! echo "${TARGET_VERSION}" | egrep -q '^[0-9]+\.[0-9]+\.[0-9]+$'; then
echo "Error: Target version '${TARGET_VERSION}' is not well-formed. Must be X.Y.Z" >&2
exit 1
fi