class Capistrano::Slacky::Command::CurrentRevision
Constants
- REVISION_FILE
Public Class Methods
call()
click to toggle source
# File lib/capistrano/slacky/command/current_revision.rb, line 11 def self.call output = nil ::Capistrano::Slacky.on(within: :release) do output = ::SSHKit::Backend.current.capture(:cat, REVISION_FILE) end output end