pull: always publish bottles.

The previous logic was flawed as it wasn't publishing new versions of
bottles.
This commit is contained in:
Mike McQuaid 2015-03-18 18:15:29 +00:00
parent 3d23580ff2
commit 3fd45673a5

View File

@ -164,8 +164,6 @@ module Homebrew
if bintray_user && bintray_key
repo = Bintray.repository(tap_name)
changed_formulae.each do |f|
# This means the formula has an existing bottle.
next if f.bottle
ohai "Publishing on Bintray:"
package = Bintray.package f.name
bottle = Bottle.new(f, f.bottle_specification)