Merge pull request #8459 from dawidd6/bintray-no-raw-json

bintray: don't output raw JSON
This commit is contained in:
Dawid Dziurla 2020-09-09 22:26:01 +02:00 committed by GitHub
commit 7500b1cc97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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