Sha256: ab96323abb19ea2adc0eff5ebb59a8c24ccc179e5f129229d7a272a8d4be6052
Contents?: true
Size: 569 Bytes
Versions: 2
Compression:
Stored size: 569 Bytes
Contents
module Jets::Git class Custom def params params = { git_system: 'custom', git_branch: git_branch, git_sha: git_sha, git_dirty: false, git_message: git_message, # git_version: nil, } params[:git_url] = git_url if git_url params end def git_branch ENV['JETS_GIT_CUSTOM_BRANCH'] end def git_sha ENV['JETS_GIT_CUSTOM_SHA'] end def git_url ENV['JETS_GIT_CUSTOM_URL'] end def git_message ENV['JETS_GIT_CUSTOM_MESSAGE'] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jets-git-0.2.1 | lib/jets/git/custom.rb |
jets-git-0.2.0 | lib/jets/git/custom.rb |