mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #139 from jamesalmond/add-cleanup-migration-docs
Migration documentation now mentions difference in cleanup behaviour
This commit is contained in:
commit
87c1305a72
1 changed files with 10 additions and 0 deletions
|
@ -126,3 +126,13 @@ on roles :all do
|
|||
end
|
||||
end
|
||||
```
|
||||
|
||||
# Notable differences between 2.x and 3
|
||||
|
||||
#### Cleanup
|
||||
|
||||
Capistrano 3 now runs the `deploy:cleanup` task as part of the standard deploy workflow and keeps 5 releases by default. Previously this was left for you to add manually, if required. To change the number of releases kept set the `keep_releases` configuration variable:
|
||||
|
||||
```ruby
|
||||
set :keep_releases, 10
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue