diff options
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 14f9e59f8..5d876fbb7 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -170,8 +170,7 @@ module Homebrew changed_formulae.each do |f| ohai "Publishing on Bintray:" package = Bintray.package f.name - bottle = Bottle.new(f, f.bottle_specification) - version = Bintray.version(bottle.url) + version = f.pkg_version curl "--silent", "--fail", "-u#{bintray_user}:#{bintray_key}", "-X", "POST", "https://api.bintray.com/content/homebrew/#{repo}/#{package}/#{version}/publish" |
