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

test-bot: don't pull if unnecessary (take two).

parent 0e905491
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ module Homebrew
elsif @url
# TODO: in future Travis CI may need to also use `brew pull` to e.g. push
# the right commit to BrewTestBot.
if !travis_pr || ENV["ghprbActualCommit"].chomp != `git rev-parse HEAD`
if !travis_pr || `git rev-parse #{ENV["sha1"]}` != `git rev-parse HEAD`
diff_start_sha1 = current_sha1
test "brew", "pull", "--clean", @url
diff_end_sha1 = current_sha1
......
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