Sha256: 0707046f908de3604ac90bb571f84b8301a70a1fd010a0ff35f5924518469c0c
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
module ORS::Commands class Changes < Base def execute results = execute_command console_server, %(cd #{deploy_directory}), %(git show | head -1), :capture => true if results =~ /commit (.*)/ system 'git', 'log', [$1, "remotes/origin/#{environment}"].join("..") end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ors-0.2.4 | lib/ors/commands/changes.rb |
ors-0.2.3 | lib/ors/commands/changes.rb |
ors-0.2.2 | lib/ors/commands/changes.rb |
ors-0.2.1 | lib/ors/commands/changes.rb |