Merge pull request #13386 from samford/livecheck/git-remove-tags_only_debian-logic
Git: Remove tags_only_debian logic
This commit is contained in:
commit
b75f41c527
@ -101,13 +101,7 @@ module Homebrew
|
|||||||
return Strategy.handle_block_return(block_return_value)
|
return Strategy.handle_block_return(block_return_value)
|
||||||
end
|
end
|
||||||
|
|
||||||
tags_only_debian = tags.all? { |tag| tag.start_with?("debian/") }
|
|
||||||
|
|
||||||
tags.map do |tag|
|
tags.map do |tag|
|
||||||
# Skip tag if it has a 'debian/' prefix and upstream does not do
|
|
||||||
# only 'debian/' prefixed tags
|
|
||||||
next if tag =~ %r{^debian/} && !tags_only_debian
|
|
||||||
|
|
||||||
if regex
|
if regex
|
||||||
# Use the first capture group (the version)
|
# Use the first capture group (the version)
|
||||||
tag.scan(regex).first&.first
|
tag.scan(regex).first&.first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user