in order to copy my last version from trunk into the latest_stable,
I wrote the following in my deploy.rb

set :trunk, "http://svn.mydomain/myapp/trunk";
set :current_version, "http://svn.mydomain/myapp/tags/latest_stable";

and then :

namespace :app do
   desc "Copy svn trunk to tags version"
   task :new_version, :roles => [:app, :db] do
     run "svn copy --username #{scm_username} --password
#{scm_password} #{trunk} #{current_version} -m 'new tag version
update'"
   end
end

before 'deploy:cold', 'app:new_version'

BUT the latest_stable IS NOT replaced....
I get the trunk IN my latest_stable directory ....   what's wrong  ?

thansk for your lights ...

erwin
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to