pr-automerge: pass proper tap variable
Co-authored-by: Jonathan Chang <jchang641@gmail.com>
This commit is contained in:
parent
8be563c5cd
commit
62ca046390
@ -59,7 +59,7 @@ module Homebrew
|
|||||||
|
|
||||||
if args.publish?
|
if args.publish?
|
||||||
publish_args = ["pr-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
|
safe_system HOMEBREW_BREW_FILE, *publish_args, *pr_urls
|
||||||
else
|
else
|
||||||
ohai "Now run:", " brew pr-publish \\\n #{pr_urls.join " \\\n "}"
|
ohai "Now run:", " brew pr-publish \\\n #{pr_urls.join " \\\n "}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user