Home

Awesome

capistrano-uptodate

capistrano-uptodate is capistrano extension that automatically check your local repository with remote repository and if repository is not up-to-date:

If you want to be sure that every developer in your team use recent version of deployment recipes before it starts deploy this extension might be handy.

Installation

gem install capistrano-uptodate

Add to Capfile or config/deploy.rb:

require 'capistrano/uptodate'

Configuration

You can tune uptodate recipe using next options:

Example

$ cap production deploy
  triggering load callbacks
* == Currently executing `uptodate'
* == Currently executing `uptodate:git'
Local 'master' branch is not synchronized with 'origin' repository.
Continue anyway? (y/N)