pull: loosen Jenkins Testing URL.
This commit is contained in:
parent
d5005f4d8b
commit
28fe84e5db
@ -51,7 +51,7 @@ module Homebrew
|
|||||||
issue = arg
|
issue = arg
|
||||||
url = "https://github.com/Homebrew/homebrew-core/pull/#{arg}"
|
url = "https://github.com/Homebrew/homebrew-core/pull/#{arg}"
|
||||||
tap = CoreTap.instance
|
tap = CoreTap.instance
|
||||||
elsif (testing_match = arg.match %r{brew\.sh/job/Homebrew.*Testing/(\d+)/})
|
elsif (testing_match = arg.match %r{/job/Homebrew.*Testing/(\d+)/})
|
||||||
tap = ARGV.value("tap")
|
tap = ARGV.value("tap")
|
||||||
tap = if tap && tap.start_with?("homebrew/")
|
tap = if tap && tap.start_with?("homebrew/")
|
||||||
Tap.fetch("homebrew", tap.strip_prefix("homebrew/"))
|
Tap.fetch("homebrew", tap.strip_prefix("homebrew/"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user