From 507aee207884a936e0a83cd283ad1dbe44554c11 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 17 Feb 2015 18:57:19 +0000 Subject: Add initial Bintray upload support. --- Library/Homebrew/cmd/pull.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Homebrew/cmd/pull.rb') diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index cf0b74543..ac43bdad6 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -152,6 +152,10 @@ module Homebrew safe_system "git", "checkout", branch safe_system "git", "merge", "--ff-only", "--no-edit", bottle_branch safe_system "git", "branch", "-D", bottle_branch + + # TODO: publish on bintray + # safe_system "curl", "-u#{user}:#{key}", "-X", "POST", + # "https://api.bintray.com/content/homebrew/#{repo}/#{formula}/#{version}" end ohai 'Patch changed:' -- cgit v1.2.3