Sha256: 47e88c8665a2a79b3214ed312b023de92a756db95f262ecfb87b3af35cce7f17
Contents?: true
Size: 609 Bytes
Versions: 14
Compression:
Stored size: 609 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 end end
Version data entries
14 entries across 14 versions & 1 rubygems