lib/ms_deploy/recipes/defaults.rb in ms_deploy-0.2.1 vs lib/ms_deploy/recipes/defaults.rb in ms_deploy-0.2.2

- old
+ new

@@ -52,10 +52,11 @@ set :group, user end before 'deploy', 'test_and_prepare_cap_env' + before 'deploy:migrations', 'test_and_prepare_cap_env' after 'deploy:update', 'deploy:cleanup' desc "Show currently deployed revision on server." task :revisions, :roles => :app do current, previous, latest = current_revision[0, 7], previous_revision[0, 7], real_revision[0, 7] @@ -81,6 +82,7 @@ puts diff end end after "deploy", "revisions" + after "deploy:migrations", "revisions" end