lib/alpha_omega/deploy.rb in alpha_omega-1.3.11 vs lib/alpha_omega/deploy.rb in alpha_omega-1.3.12
- old
+ new
@@ -303,16 +303,14 @@
servers. You will rarely call this task directly, however; instead, you \
should call the `deploy' task (to do a complete deploy) or the `update' \
task (if you want to perform the `restart' task separately).
DESC
task :update_code do
- strategy.deploy! unless skip_scm
+ scm
bundle
- unless deploy_path_name == migrate_path_name
- build
- dist
- end
+ build
+ dist
end
task :symlink_next do
if releases.length >= 2
run "ln -nfs #{current_release} #{next_path}.new"
@@ -402,9 +400,12 @@
Distribute binaries built in deploy:build.
DESC
task :dist do
end
+ task :scm do
+ strategy.deploy! unless skip_scm
+ end
desc <<-DESC
Checkpoint for various language bundlers
DESC
task :bundle do