1
0
Fork 0
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:
Lee Hambley 2015-08-04 13:22:21 +02:00
commit 87c1305a72

View file

@ -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
```