lib/alpha_omega/deploy.rb in alpha_omega-0.0.160 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.161
- old
+ new
@@ -416,10 +416,10 @@
if previous_release
system "#{figlet} -w 200 on #{previous_release_name}"
run "rm -fv #{previous_path} #{next_path}"
run "ln -vnfs #{previous_release} #{current_path}.new"
- run "mv -T #{curent_path}.new #{current_path}"
+ run "mv -T #{current_path}.new #{current_path}"
else
abort "could not rollback the code because there is no prior release"
end
end