lib/alpha_omega/deploy.rb in alpha_omega-0.0.219 vs lib/alpha_omega/deploy.rb in alpha_omega-0.0.220
- old
+ new
@@ -297,10 +297,14 @@
task :update_code do
bootstrap_code
strategy.deploy!
bundle
cook
+ unless deploy_path_name == migrate_path_name
+ build
+ dist
+ end
end
task :symlink_next do
if releases.length >= 2
run "ln -nfs #{current_release} #{next_path}.new"
@@ -384,18 +388,15 @@
by deploy:dist.
DESC
task :build do
end
- after "deploy:update_code", "deploy:build"
-
desc <<-DESC
Distribute binaries built in deploy:build.
DESC
task :dist do
end
- after "deploy:build", "deploy:dist"
desc <<-DESC
Checkpoint for various language bundlers
DESC
task :bundle do