Merge pull request #8185 from Bo98/pr-publish-args-fix

dev-cmd/pr-publish: fix --tap and --workflow
This commit is contained in:
Dawid Dziurla 2020-08-02 09:27:09 +02:00 committed by GitHub
commit 633fa027c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,8 @@ module Homebrew
def pr_publish
args = pr_publish_args.parse
tap = Tap.fetch(Homebrew.args.tap || CoreTap.instance.name)
workflow = Homebrew.args.workflow || "publish-commit-bottles.yml"
tap = Tap.fetch(args.tap || CoreTap.instance.name)
workflow = args.workflow || "publish-commit-bottles.yml"
ref = "master"
args.named.uniq.each do |arg|