after the first deployment with set :deploy_via, :copy
to make changes to the application now I use:
set :deploy_via, :remote_cache
every time I update changes, I create a new version, but I do not delete old versions.
I see in the releases folder:
20120325165324 20120326132816 20120326150033 20120326150716 20120326151632 20120326161602 20120326171203
I only want to have a maximum of 3 o 5 releases.
I have in my deploy.rb:
set :keep_releases, 5
but it does not work for me.
How to remove old versions after deployment using set :deploy_via, :remote_cache
Thanks!
source share