Class: Semmy::Tasks::Commit
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Semmy::Tasks::Base
Instance Method Details
#define ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/semmy/tasks/commit.rb', line 4 def define namespace 'commit' do task 'prepare' do Shell.info('Creating prepare commit.') Scm.commit_all(config. % { version: Project.version }) end task 'bump' do Shell.info('Creating bump commit.') Scm.commit_all(config. % { version: Project.version }) end end end |