Skip to content
Snippets Groups Projects
Unverified Commit 7500b1cc authored by Dawid Dziurla's avatar Dawid Dziurla Committed by GitHub
Browse files

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

bintray: don't output raw JSON
parents 456e674c 4b6318b2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment