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
|
||||
|
||||
curl(*args, url,
|
||||
show_output: verbose?,
|
||||
secrets: key)
|
||||
print_stdout: false,
|
||||
secrets: key)
|
||||
end
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
def curl(*args, **options)
|
||||
result = curl_with_workarounds(*args, print_stdout: true, **options)
|
||||
def curl(*args, print_stdout: true, **options)
|
||||
result = curl_with_workarounds(*args, print_stdout: print_stdout, **options)
|
||||
result.assert_success!
|
||||
result
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user