diff --git a/utilities/releaseScripts/_common.rb b/utilities/releaseScripts/_common.rb index c29278f1..bd8e0488 100644 --- a/utilities/releaseScripts/_common.rb +++ b/utilities/releaseScripts/_common.rb @@ -253,7 +253,7 @@ end def tag_exists?(dir, tag) Dir.chdir(dir) do |path| - re = Regexp.new("\\b#{tag}\\b") + re = Regexp.new("^#{tag}$") `git tag`.index(re) end end