Skip to content
Snippets Groups Projects
Commit 67828cd0 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test-bot: specify bintray username/password.

parent 38f9a78c
No related branches found
No related tags found
No related merge requests found
......@@ -738,8 +738,9 @@ module Homebrew
package_url = "https://api.bintray.com/packages/homebrew/#{repo}/#{formula}"
unless system "curl", "--silent", "--fail", "--output", "/dev/null", package_url
safe_system "curl", "-H", "Content-Type: application/json",
"-d", "{'name':'#{formula}','licenses':['MIT']}", package_url
safe_system "curl", "-u#{user}:#{key}",
"-H", "Content-Type: application/json",
"-d", "{'name':'#{formula}'}", package_url
end
safe_system "curl", "-u#{user}:#{key}", "-T", filename,
......
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