Skip to content

Commit

Permalink
Fix check for existing tag in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mejo- committed May 4, 2022
1 parent a3448b0 commit f314edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ endif
ifndef GITLAB_API_TOKEN
$(error Missing $$GITLAB_API_TOKEN)
endif
@if git tag | grep $(GIT_TAG); then \
@if git tag | grep -qFx $(GIT_TAG); then \
echo "Git tag already exists!"; \
echo "Delete it with 'git tag -d $(GIT_TAG)'"; \
exit 1; \
Expand Down

0 comments on commit f314edc

Please sign in to comment.