diff options
| author | Cheng Fang <cfang@redhat.com> | 2024-06-12 15:37:44 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-12 15:37:44 -0400 |
| commit | 5fcd41d22e2f5d40775cc5fe893701333d12fd3c (patch) | |
| tree | f42fe7b07ad98c6b553d5d3e649d5385b94e2a25 /hack/release.sh | |
| parent | f8b345b0a8a3af053cc6c16e62f76841f34279cb (diff) | |
chore: fix checking for the existence of TARGET_TAG (#741)
Signed-off-by: Cheng Fang <cfang@redhat.com>
Diffstat (limited to 'hack/release.sh')
| -rwxr-xr-x | hack/release.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/release.sh b/hack/release.sh index 10e6943..8cc8f6b 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 |
