Created
January 28, 2015 03:29
-
-
Save linyows/69de42a5ec9f033afa1c to your computer and use it in GitHub Desktop.
Capistrano3 各リビジョンを俯瞰するやつ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace :deploy do | |
task :revisions do | |
on roles(:all), in: :parallel do |host| | |
puts "#{host}: #{capture(:tail, '-n 1', revision_log)}" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment