From 8b8f223ede0832b1035aa4d8ef30b8a140210268 Mon Sep 17 00:00:00 2001 From: Cheng Fang Date: Wed, 12 Jun 2024 15:37:44 -0400 Subject: [PATCH] chore: fix checking for the existence of TARGET_TAG (#741) Signed-off-by: Cheng Fang --- hack/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/release.sh b/hack/release.sh index 10e69436..8cc8f6b7 100755 --- a/hack/release.sh +++ b/hack/release.sh @@ -36,8 +36,8 @@ fi echo "${TARGET_VERSION}" > VERSION -echo "*** checking for existance of git tag ${TARGET_TAG}" -if git tag -l "${TARGET_VERSION}" | grep -q "${TARGET_TAG}"; then +echo "*** checking for existence of git tag ${TARGET_TAG}" +if git tag -l "${TARGET_TAG}" | grep -q "${TARGET_TAG}"; then echo "Error: Tag with version ${TARGET_TAG} already exists." >&2 exit 1 fi