Merge pull request #7244 from dawidd6/pr-publish-linux

pr-publish: make it work on linux too
This commit is contained in:
Mike McQuaid 2020-03-31 09:52:03 +01:00 committed by GitHub
commit 3b4c2eecd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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|