Sha256: e5bb6b0d1b72962792f6b3054038932a724a3c905dfa99ac179895fe36105035
Contents?: true
Size: 677 Bytes
Versions: 9
Compression:
Stored size: 677 Bytes
Contents
require 'git' module Semmy module Tasks class Commit < Base def define namespace 'commit' do task 'prepare' do Shell.info('Creating prepare commit.') git.commit_all(config.prepare_commit_message % { version: Project.version }) end task 'bump' do Shell.info('Creating bump commit.') git.commit_all(config.bump_commit_message % { version: Project.version }) end end def git Git.open('.') end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems