Skip to content

Commit 5fcd41d

Browse files
authored
chore: fix checking for the existence of TARGET_TAG (#741)
Signed-off-by: Cheng Fang <[email protected]>
1 parent f8b345b commit 5fcd41d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ fi
3636

3737
echo "${TARGET_VERSION}" > VERSION
3838

39-
echo "*** checking for existance of git tag ${TARGET_TAG}"
40-
if git tag -l "${TARGET_VERSION}" | grep -q "${TARGET_TAG}"; then
39+
echo "*** checking for existence of git tag ${TARGET_TAG}"
40+
if git tag -l "${TARGET_TAG}" | grep -q "${TARGET_TAG}"; then
4141
echo "Error: Tag with version ${TARGET_TAG} already exists." >&2
4242
exit 1
4343
fi

0 commit comments

Comments
 (0)