From 2ebef2de2a9e92bf5bed71872a5b94e5d0e77bbf Mon Sep 17 00:00:00 2001 From: Roman Bredehoft Date: Tue, 3 Oct 2023 14:08:27 +0200 Subject: [PATCH] chore: fix check tag step in release action --- script/actions_utils/check_tag_not_remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/actions_utils/check_tag_not_remote.sh b/script/actions_utils/check_tag_not_remote.sh index 66eb71c2af..8e49bf16a3 100755 --- a/script/actions_utils/check_tag_not_remote.sh +++ b/script/actions_utils/check_tag_not_remote.sh @@ -33,7 +33,7 @@ fi git fetch --tags --force # If the tag name is already found remotely, exist with status 1 -if git ls-remote --tags origin | grep -q "${TAG_NAME}"; then +if git ls-remote --tags origin | grep -q "${TAG_NAME}$"; then echo "Tag ${TAG_NAME} already exists remotely." exit 1 fi