lib/capistrano/env/plugin.rb in capistrano-env-0.0.3 vs lib/capistrano/env/plugin.rb in capistrano-env-0.0.4

- old
+ new

@@ -10,10 +10,10 @@ def add(config) namespace :deploy do namespace :capenv do task :copy do - parent.parent.upload StringIO.new(config.capenv_content), "#{fetch(:current_path)}/#{config.capenv_file}" + parent.parent.upload StringIO.new(config.capenv_content), "#{fetch(:release_path)}/#{config.capenv_file}" end end end after 'deploy:finalize_update', 'deploy:capenv:copy' before 'deploy:restart', 'deploy:capenv:copy'