pr-publish: make it work on linux too

This commit is contained in:
Dawid Dziurla 2020-03-31 10:02:29 +02:00
parent 6277263b3c
commit c563b9c6a2
No known key found for this signature in database
GPG Key ID: 7B6D8368172E9B0B

View File

@ -21,6 +21,8 @@ module Homebrew
def pr_publish
pr_publish_args.parse
ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"] = "1" unless OS.mac?
odie "You need to specify at least one pull request number!" if Homebrew.args.named.empty?
args.named.each do |arg|