diff options
| author | Mike McQuaid | 2015-02-19 12:51:48 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-19 12:58:55 +0000 |
| commit | bfd286c38f7ae3e28d8abb55dba1f392ac1ee888 (patch) | |
| tree | 860b1ee01d9e37496d98d7e4d05dc582e4f1fe12 /Library | |
| parent | 39871ed81a18bfb26b8d7f9b2aaad6824f1de3e0 (diff) | |
| download | homebrew-bfd286c38f7ae3e28d8abb55dba1f392ac1ee888.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 |
