diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index 434fe1d32..70d1db7c7 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -452,7 +452,12 @@ module Homebrew bottle_args = ["--rb", formula_name] if @tap tap_user, tap_repo = @tap.split "/" - bottle_args << "--root-url=#{BottleSpecification::DEFAULT_ROOT_URL}/#{tap_repo}" + # Opt-in to Bintray tap support until we switch over + if ENV["HOMEBREW_BINTRAY_TESTING"] + bottle_args << "--root-url=#{BottleSpecification::DEFAULT_DOMAIN}/#{Bintray.repository(@tap)}" + else + bottle_args << "--root-url=#{BottleSpecification::DEFAULT_ROOT_URL}/#{tap_repo}" + end end bottle_args << { :puts_output_on_success => true } test "brew", "bottle", *bottle_args |
