mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Add diff_from_last_deploy to the rails switchtower rakefile template
git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@2453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
8a163ef75e
commit
40d1c1ddb6
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Add diff_from_last_deploy to the rails switchtower rakefile template
|
||||
|
||||
* Add diff_from_last_deploy task (currently only works with subversion)
|
||||
|
||||
* Add deploy_with_migrations task.
|
||||
|
|
|
@ -12,6 +12,11 @@ task :rollback do
|
|||
system "switchtower -vvvv -r config/<%= recipe_file %> -a rollback"
|
||||
end
|
||||
|
||||
desc "Describe the differences between HEAD and the last production release"
|
||||
task :diff_from_last_deploy do
|
||||
system "switchtower -vvvv -r config/<%= recipe_file %> -a diff_from_last_deploy"
|
||||
end
|
||||
|
||||
desc "Enumerate all available deployment tasks"
|
||||
task :show_deploy_tasks do
|
||||
system "switchtower -r config/<%= recipe_file %> -a show_tasks"
|
||||
|
|
Loading…
Add table
Reference in a new issue