aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pull.rb
diff options
context:
space:
mode:
authorDominyk Tiller2015-11-12 00:19:38 +0000
committerDominyk Tiller2015-11-12 00:19:38 +0000
commitb381137cefa2a39a2a32818bb6a666f491a6b73b (patch)
tree4cece4029ba4739770b5a55e0c84dc8071ed40ea /Library/Homebrew/cmd/pull.rb
parent108effb95dffa6afa3e5f7529648a7b4ffc0e01a (diff)
downloadbrew-b381137cefa2a39a2a32818bb6a666f491a6b73b.tar.bz2
pull: don't try to publish nonexistent bottles
``` Fast-forward Library/Formula/ant.rb | 8 ++++---- Library/Formula/nailgun.rb | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) Deleted branch pull-bottle-45902 (was 1fdb73d). ==> Publishing on Bintray: {"files":3} ==> Publishing on Bintray: Error: Failure while executing ``` In that case, "jetty-runner" is bottle unneeded, but because I've passed the pull bottle command for the other two formulae, it attempts to publish a bottle that isn't there.
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
-rw-r--r--Library/Homebrew/cmd/pull.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index 68fcfcb56..fc07dac3e 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -192,6 +192,7 @@ module Homebrew
if bintray_user && bintray_key
repo = Bintray.repository(tap_name)
changed_formulae.each do |f|
+ next unless f.bottle_defined?
ohai "Publishing on Bintray:"
package = Bintray.package f.name
version = f.pkg_version