Sha256: 8f6a1b4c889ea81dc6e00191db4e2ad15e49617fde8121b7eb602fe1b7a1fde7
Contents?: true
Size: 724 Bytes
Versions: 14
Compression:
Stored size: 724 Bytes
Contents
module Context module GitDeployerHelper def git_build(context) Dir.chdir File.dirname(context.context_folder) puts "Building ruby from folder #{context.context_folder}" git ["clone git@github.com:JimboDragonGit/#{context.context_name}.git"] unless ::Dir.exist?(context.context_folder) end def git_commit(context) Dir.chdir context.context_folder git ['add .'] git ["commit -m 'Create #{context.context_name} automatic commit'"] end def git_release(context) Dir.chdir context.context_folder git ['push', '--follow-tags'] end def git_bump(context, level) Dir.chdir context.context_folder git ['version-bump', level] end end end
Version data entries
14 entries across 14 versions & 1 rubygems