lib/capistrano-nc/tasks/nc.rake in capistrano-nc-0.1.0 vs lib/capistrano-nc/tasks/nc.rake in capistrano-nc-0.1.1

- old
+ new

@@ -8,14 +8,10 @@ def self.os_x_version Gem::Version.new(`sw_vers -productVersion`.strip) end end -namespace :deploy do - after :finished, 'nc:finished' -end - namespace :nc do task :finished do if CapistranoNc.nc_supported? announced_stage = fetch(:stage, 'production') application = fetch(:application) @@ -28,5 +24,7 @@ TerminalNotifier.notify(announcement, title: "Capistrano") end end end + +after 'deploy:finished', 'nc:finished'