pull: support downloading bottles for taps.

This commit is contained in:
Mike McQuaid 2014-11-23 17:16:59 +00:00
parent 62815f4b3d
commit 54347843ed

View File

@ -139,8 +139,12 @@ module Homebrew
end end
if ARGV.include? "--bottle" if ARGV.include? "--bottle"
if tap_name
pull_url "https://github.com/BrewTestBot/homebrew-#{tap_name}/compare/homebrew:master...pr-#{issue}"
else
pull_url "https://github.com/BrewTestBot/homebrew/compare/homebrew:master...pr-#{issue}" pull_url "https://github.com/BrewTestBot/homebrew/compare/homebrew:master...pr-#{issue}"
end end
end
ohai 'Patch changed:' ohai 'Patch changed:'
safe_system "git", "diff-tree", "-r", "--stat", revision, "HEAD" safe_system "git", "diff-tree", "-r", "--stat", revision, "HEAD"