Merge pull request #10993 from dawidd6/committer-pull

pr-pull: pass --committer to pr-upload
This commit is contained in:
Dawid Dziurla 2021-04-02 00:06:24 +02:00 committed by GitHub
commit 2572fa9272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -435,6 +435,7 @@ module Homebrew
upload_args << "--dry-run" if args.dry_run?
upload_args << "--keep-old" if args.keep_old?
upload_args << "--warn-on-upload-failure" if args.warn_on_upload_failure?
upload_args << "--committer='#{args.committer}'" if args.committer
upload_args << "--root-url=#{args.root_url}" if args.root_url
upload_args << if archive_item.present?
"--archive-item=#{archive_item}"