Skip to content
Snippets Groups Projects
Commit 8e98a0a1 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #872 from MikeMcQuaid/test-bot-keep-old

test-bot: use UPSTREAM_BOTTLE_KEEP_OLD.
parents 2e5e9286 3acaecca
No related branches found
No related tags found
No related merge requests found
......@@ -857,7 +857,11 @@ module Homebrew
safe_system "brew", "pull", "--clean", pull_pr
end
system "brew", "bottle", "--merge", "--write", *json_files
if ENV["UPSTREAM_BOTTLE_KEEP_OLD"]
system "brew", "bottle", "--merge", "--write", "--keep-old", *json_files
else
system "brew", "bottle", "--merge", "--write", *json_files
end
remote = "git@github.com:BrewTestBot/homebrew-#{tap.repo}.git"
git_tag = pr ? "pr-#{pr}" : "testing-#{number}"
......
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