lib/alpha_omega/deploy.rb in alpha_omega-0.0.138 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.139

- old
+ new

@@ -316,11 +316,11 @@ run "#{File.dirname(external_path).index(deploy_to) == 0 ? "" : try_sudo} ln -vsnf #{current_path} #{external_path}" end run "ln -vsnf #{rollback_release} #{previous_path}" end - system "#{figlet} -w 200 #{current_release_path} activated" + system "#{figlet} -w 200 #{current_release_name} activated" end end desc <<-DESC Copy files to the currently deployed version. This is useful for updating \ @@ -607,10 +607,10 @@ end end on :exit do unless local_only - put full_log, "#{log_path}/#{application}_last_deploy-#{current_release_path}-#{branch.gsub(/\W+/,"_")}.log-#{Time.now.strftime('%Y%m%d-%H%M')}" + put full_log, "#{log_path}/#{application}-#{ENV["AO_USER"]}.log-#{Time.now.strftime('%Y%m%d-%H%M')}" end end end # Capistrano::Configuration