Skip to content

Commit

Permalink
chore: Small fix to the release script (#334)
Browse files Browse the repository at this point in the history
Signed-off-by: jannfis <[email protected]>
  • Loading branch information
jannfis committed Jan 10, 2022
1 parent d475a67 commit b61a459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b61a459

Please sign in to comment.