From 863aa60847f23ec5528802ea05f2170d17ad61a4 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 1 May 2015 15:46:52 -0400 Subject: [PATCH] Fix a problem that shows up when building a final release The script was thinking that the tags had already been created, because of an false-positive from the regular expression. --- utilities/releaseScripts/_common.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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