cap --explain deploy:cleanup
- Jamis
> --~--~---------~--~----~------------~-------~--~----~
> To unsubscribe from this group, send email to capistrano-...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/capistrano
> -~----------~----~----~----~------~----~------~--~---
>
You can set the number of releases to keep, but you'll have to look in
the docs for the variable name, I can't remember.
Sorry,
Josh
set :keep_releases, 4
regards!
--
Rafael Garcia Ortega
As an aside, does anyone else notice that the deletion seems to take
forever? I thought a rm -rf would be pretty fast, even if there is a
lot of cruft in each release directory?
- Rob
If anyone knows a faster way for deleting subtrees, I'm all ears,
because the speed of deletion is the only thing that is keeping me
from making deploy:cleanup automatically execute after a deploy.
- Jamis
One possibility is to (somehow) make each release use hardlinks from the last. I'm not sure how to do that consistently across versions, though