Skip to content
Snippets Groups Projects
Commit c4067cf8 authored by Xu Cheng's avatar Xu Cheng
Browse files

test-bot: skip bottling if it's unneeded

parent d20d08b5
No related branches found
No related tags found
No related merge requests found
......@@ -582,7 +582,7 @@ module Homebrew
audit_args << "--strict" << "--online" if @added_formulae.include? formula_name
test "brew", "audit", *audit_args
if install_passed
if formula.stable? && !ARGV.include?("--fast")
if formula.stable? && !ARGV.include?("--fast") && !formula.bottle_disabled?
bottle_args = ["--verbose", "--rb", canonical_formula_name]
bottle_args << "--keep-old" if ARGV.include? "--keep-old"
test "brew", "bottle", *bottle_args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment