test-bot: always update to tag for taps.
This commit is contained in:
parent
bef4d13535
commit
f6fef7cdce
@ -1076,7 +1076,10 @@ module Homebrew
|
|||||||
# because Formula parsing and/or git commit hash lookup depends on it.
|
# because Formula parsing and/or git commit hash lookup depends on it.
|
||||||
# At the same time, make sure Tap is not a shallow clone.
|
# At the same time, make sure Tap is not a shallow clone.
|
||||||
# bottle rebuild and bottle upload rely on full 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"
|
if ARGV.include? "--ci-upload"
|
||||||
return test_ci_upload(tap)
|
return test_ci_upload(tap)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user