Sha256: ef5b5f899453f3ade049aa0f3a2afecf5c9ceb4b1fd4bead4b89ee38e8966a74
Contents?: true
Size: 567 Bytes
Versions: 4
Compression:
Stored size: 567 Bytes
Contents
module Jets::Git class Custom < Base def info info = { git_system: "custom", git_branch: git_branch, git_sha: git_sha, git_dirty: false, git_message: git_message # git_version: nil, } info[:git_url] = git_url if git_url info 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jets-6.0.5 | lib/jets/git/custom.rb |
jets-6.0.4 | lib/jets/git/custom.rb |
jets-6.0.3 | lib/jets/git/custom.rb |
jets-6.0.2 | lib/jets/git/custom.rb |