Browse files

LH-453 - Only notify servers if they are not marked as no release.

  • Loading branch information...
1 parent a05df56 commit 9603a9890d953369c6cb1992eb9c7b5e34a92c51 @tristandunn tristandunn committed Nov 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 recipes/hoptoad.rb
View
2 recipes/hoptoad.rb
@@ -11,7 +11,7 @@
namespace :deploy do
desc "Notify Hoptoad of the deployment"
- task :notify_hoptoad do
+ task :notify_hoptoad, :except => { :no_release => true } do
rails_env = fetch(:hoptoad_env, fetch(:rails_env, "production"))
local_user = ENV['USER'] || ENV['USERNAME']
executable = RUBY_PLATFORM.downcase.include?('mswin') ? 'rake.bat' : 'rake'

0 comments on commit 9603a98

Please sign in to comment.