Sha256: 963002e9999fa7e7658ecfc28269e80b72210d06072e67ad1ce59c41bd3ed0c9
Contents?: true
Size: 295 Bytes
Versions: 16
Compression:
Stored size: 295 Bytes
Contents
desc 'display the deployed branch and commit' task :deployed_branch do on roles(:app) do |host| within current_path do revision = capture :cat, 'REVISION' branches = `git branch -r --contains #{revision}`.strip info "#{host}: #{revision} (#{branches})" end end end
Version data entries
16 entries across 16 versions & 1 rubygems