Merge branch 'develop' of https://github.com/vivo-project/VIVO into develop
This commit is contained in:
commit
70ff560c30
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
Reference in a new issue