Skip to content
Snippets Groups Projects
Commit f6fef7cd authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test-bot: always update to tag for taps.

parent bef4d135
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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