Merge pull request #8459 from dawidd6/bintray-no-raw-json
bintray: don't output raw JSON
This commit is contained in:
commit
7500b1cc97
@ -37,8 +37,8 @@ class Bintray
|
|||||||
end
|
end
|
||||||
|
|
||||||
curl(*args, url,
|
curl(*args, url,
|
||||||
show_output: verbose?,
|
print_stdout: false,
|
||||||
secrets: key)
|
secrets: key)
|
||||||
end
|
end
|
||||||
|
|
||||||
def upload(local_file, repo:, package:, version:, remote_file:, sha256: nil)
|
def upload(local_file, repo:, package:, version:, remote_file:, sha256: nil)
|
||||||
|
|||||||
@ -81,8 +81,8 @@ def curl_with_workarounds(*args, secrets: nil, print_stdout: nil, print_stderr:
|
|||||||
result
|
result
|
||||||
end
|
end
|
||||||
|
|
||||||
def curl(*args, **options)
|
def curl(*args, print_stdout: true, **options)
|
||||||
result = curl_with_workarounds(*args, print_stdout: true, **options)
|
result = curl_with_workarounds(*args, print_stdout: print_stdout, **options)
|
||||||
result.assert_success!
|
result.assert_success!
|
||||||
result
|
result
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user