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.
This commit is contained in:
j2blake 2015-05-01 15:46:52 -04:00
parent a8aac9db57
commit 863aa60847

View file

@ -253,7 +253,7 @@ end
def tag_exists?(dir, tag) def tag_exists?(dir, tag)
Dir.chdir(dir) do |path| Dir.chdir(dir) do |path|
re = Regexp.new("\\b#{tag}\\b") re = Regexp.new("^#{tag}$")
`git tag`.index(re) `git tag`.index(re)
end end
end end