Hello, Here's how I've done it (in config/deploy.rb):
task :revision, :roles => :app do run %(tail -1 #{deploy_to}/revisions.log) end -tero On Mar 9, 3:20 pm, "bjhess" <[EMAIL PROTECTED]> wrote: > Silly question. > > Is there a cap command that tells me which revision of a code base is > deployed to the target? Something like: > > cap revision > > I'd definitely like to check my code base revision in production > before deploying. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---