Skip to content

Instantly share code, notes, and snippets.

@ryanbriones
Created February 9, 2010 14:56
Show Gist options
  • Select an option

  • Save ryanbriones/299271 to your computer and use it in GitHub Desktop.

Select an option

Save ryanbriones/299271 to your computer and use it in GitHub Desktop.
Capistrano task to find out what will be deployed on the next release; git only
namespace :deploy do
desc "What will be deployed on the next release"
task :what do
puts run_locally "git log --color #{current_revision}..#{real_revision}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment