diff options
| author | Mike McQuaid | 2016-09-20 19:30:27 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-20 19:37:30 +0100 |
| commit | f6fef7cdce5302ae6f3fed357612d31d1d08cd5a (patch) | |
| tree | 404407ea0446e92148007eae65a9dccb90ca665d /Library/Homebrew/dev-cmd/test-bot.rb | |
| parent | bef4d135359373a9451d56631318481e0391bcb4 (diff) | |
| download | brew-f6fef7cdce5302ae6f3fed357612d31d1d08cd5a.tar.bz2 | |
test-bot: always update to tag for taps.
Diffstat (limited to 'Library/Homebrew/dev-cmd/test-bot.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/test-bot.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/test-bot.rb b/Library/Homebrew/dev-cmd/test-bot.rb index d20711588..7a5853c48 100644 --- a/Library/Homebrew/dev-cmd/test-bot.rb +++ b/Library/Homebrew/dev-cmd/test-bot.rb @@ -1076,7 +1076,10 @@ module Homebrew # because Formula parsing and/or git commit hash lookup depends on it. # At the same time, make sure Tap is not a shallow clone. # bottle rebuild and bottle upload rely on full clone. - safe_system "brew", "tap", tap.name, "--full" if tap + if tap + ENV["HOMEBREW_UPDATE_TO_TAG"] = "1" + safe_system "brew", "tap", tap.name, "--full" + end if ARGV.include? "--ci-upload" return test_ci_upload(tap) |
