From 8b401e40cbfe236d9ca678c205e3a01d2b7d2cd8 Mon Sep 17 00:00:00 2001 From: jannfis Date: Fri, 7 Jan 2022 13:37:58 +0100 Subject: chore: Small fix to the release script (#334) Signed-off-by: jannfis --- hack/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hack') 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 -- cgit v1.2.3