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:
parent
a8aac9db57
commit
863aa60847
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue