Skip to content

Commit

Permalink
test-bot: always update to tag for taps.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Sep 20, 2016
1 parent bef4d13 commit f6fef7c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Library/Homebrew/dev-cmd/test-bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,10 @@ def test_bot
# 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)
Expand Down

0 comments on commit f6fef7c

Please sign in to comment.