未验证 提交 3d9cf83f 编辑于 作者: Mike McQuaid's avatar Mike McQuaid 提交者: GitHub
浏览文件

Merge pull request #7346 from Bo98/pr-pull

dev-cmd/pr-pull: fix strategy error
......@@ -187,7 +187,9 @@ module Homebrew
next
end
GitHub.fetch_artifact(user, repo, pr, dir, workflow_id: workflow, artifact_name: artifact)
GitHub.fetch_artifact(user, repo, pr, dir, workflow_id: workflow,
artifact_name: artifact,
strategy: CurlNoResumeDownloadStrategy)
if Homebrew.args.dry_run?
puts "brew bottle --merge --write #{Dir["*.json"].join " "}"
......@@ -200,9 +202,7 @@ module Homebrew
if Homebrew.args.dry_run?
puts "Upload bottles described by these JSON files to Bintray:\n #{Dir["*.json"].join("\n ")}"
else
bintray.upload_bottle_json Dir["*.json"],
publish_package: !args.no_publish?,
strategy: CurlNoResumeDownloadStrategy
bintray.upload_bottle_json Dir["*.json"], publish_package: !args.no_publish?
end
end
end
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册