lib/alpha_omega/deploy.rb in alpha_omega-0.0.165 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.166
- old
+ new
@@ -536,9 +536,11 @@
system(source.local.log(from))
end
end
task :lock do
+ bootstrap_code
+
epoch = Time.now.to_i
locker = ''
run "cat #{log_path}/.#{application}_deploy_lock 2>&- || true" do |ch, stream, data|
locker << data