pr-automerge: pass proper tap variable

Co-authored-by: Jonathan Chang <jchang641@gmail.com>
This commit is contained in:
Dawid Dziurla 2020-07-25 08:42:39 +02:00 committed by GitHub
parent 8be563c5cd
commit 62ca046390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ module Homebrew
if args.publish?
publish_args = ["pr-publish"]
publish_args << "--tap=#{args.tap}" if args.tap
publish_args << "--tap=#{tap}" if tap
safe_system HOMEBREW_BREW_FILE, *publish_args, *pr_urls
else
ohai "Now run:", " brew pr-publish \\\n #{pr_urls.join " \\\n "}"