Class Rake::ShipitTask::Step::Commit
In: lib/shipit.rb
Parent: Object

Methods

new   prepare   run  

Public Class methods

[Source]

     # File lib/shipit.rb, line 176
176:         def initialize(step, msg=nil)
177:                 @msg = msg
178:         end

Public Instance methods

[Source]

     # File lib/shipit.rb, line 180
180:         def prepare
181:                 @vc = Rake::ShipitTask::VC.new
182:                 @vers = VERS
183:                 @vc.precommit
184:         end

[Source]

     # File lib/shipit.rb, line 186
186:         def run
187:                 @vc.commit(@msg || "Release #{@vers}")
188:         end

[Validate]