Great, thanks for the quick response.
On Jan 8, 5:06 pm, "Rafael G." <[email protected]> wrote: > Jesse Armand wrote: > > Hello, > > > I've been using Capistrano for a while, and I have to admit it's very > > useful. > > > I have a question: > > I know there's this "releases" directory to track the current and > > previous releases of the deployed app. What I would like to know is, > > is there a clean way to maintain this "releases" directory ? > > > I would like to remove old archives that I know I won't use it > > anymore, should I just delete it and everything is fine? > > Hi Jesse, > > You can delete it freely. If you prefer Capistrano can do it for > you. You only set "keep_releases"(by default is 5) in your deploy.rb and > call the task "cap deploy:cleanup" with a filter. Example: > > set :keep_releases, 3 > after "deploy", "deploy:cleanup" > after "deploy:migrations" , "deploy:cleanup" > > Regards > > -- > Rafa
-- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
