dev-cmd/pr-pull: fix strategy error
This commit is contained in:
parent
ac5ea023cf
commit
a920f74671
@ -187,7 +187,9 @@ module Homebrew
|
|||||||
next
|
next
|
||||||
end
|
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?
|
if Homebrew.args.dry_run?
|
||||||
puts "brew bottle --merge --write #{Dir["*.json"].join " "}"
|
puts "brew bottle --merge --write #{Dir["*.json"].join " "}"
|
||||||
@ -200,9 +202,7 @@ module Homebrew
|
|||||||
if Homebrew.args.dry_run?
|
if Homebrew.args.dry_run?
|
||||||
puts "Upload bottles described by these JSON files to Bintray:\n #{Dir["*.json"].join("\n ")}"
|
puts "Upload bottles described by these JSON files to Bintray:\n #{Dir["*.json"].join("\n ")}"
|
||||||
else
|
else
|
||||||
bintray.upload_bottle_json Dir["*.json"],
|
bintray.upload_bottle_json Dir["*.json"], publish_package: !args.no_publish?
|
||||||
publish_package: !args.no_publish?,
|
|
||||||
strategy: CurlNoResumeDownloadStrategy
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user