Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/releasing/pre-release-checks-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function preReleaseCheckGit() {

local tags
tags=$(git tag) || die "The following command failed (see above): git tag"
if grep -q --fixed-strings "$version" <<<"$tags"; then
if grep -q --fixed-strings --line-regexp "$version" <<<"$tags"; then
logError "tag %s already exists locally, adjust version or delete it with git tag -d %s" "$version" "$version"
if hasRemoteTag "$version"; then
printf >&2 "Note, it also exists on the remote which means you also need to delete it there -- e.g. via git push origin :%s\n" "$version"
Expand Down