If you want to push a tag, you have to change the :repository URL (since Subversion doesn't really support tags--you actually push from a different path in the repository instead). If you want to push a specific revision number from the current repository, you just set the :revision variable.
You can set either of these from the command-line: cap -s repository=http://blah.blah.blah deploy cap -s revision=123 deploy - Jamis On 9/17/07, Dorren <[EMAIL PROTECTED]> wrote: > > can you deploy code with given svn version? I mean add svn version as > command line argument. something like "cap deploy 123" would be nice. > > I know you can change repository path to tagged releases, but i wonder > is there way so i don't have to change config/deploy.rb file in rails. > > thanks. > > > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
