diff options
| author | Mike McQuaid | 2015-02-19 12:51:48 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-19 12:58:55 +0000 |
| commit | 525e04d8dd012e62207cfadd224b9889ed20f547 (patch) | |
| tree | 04aa3446cc5cdc951651410d589c0c47370ac302 /Library | |
| parent | 635681401e780135206624bbd54a40934ab5d451 (diff) | |
| download | brew-525e04d8dd012e62207cfadd224b9889ed20f547.tar.bz2 | |
test-bot: set bottle args for Bintray testing.
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 |
