lib/alpha_omega/deploy.rb in alpha_omega-0.0.187 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.188
- old
+ new
@@ -410,10 +410,14 @@
desc <<-DESC
Runs a repl in the compare release
DESC
task :repl do
- compare
+ set :deploy_path_name, "compare"
+ set :deploy_release_name, "compare"
+ update_code
+ run "ln -nfs #{deploy_release} #{deploy_path}.new"
+ run "mv -T #{deploy_path}.new #{deploy_path}"
end
namespace :rollback do
desc <<-DESC
[internal] Points the current symlink at the previous revision.