Top Level Namespace
Defined in:
Constant Summary
-
CURRENT_BRANCH =
{{ "#{(`git branch | sed -n '/* /s///p'`).strip}" }}
-
CURRENT_COMMIT =
{{ "#{(`git rev-list HEAD --max-count=1 --abbrev-commit`).strip}" }}
-
CURRENT_VERSION =
{{ "#{(`git describe --tags --abbrev=0`).strip}" }}
-
SOFTWARE =
{"name" => "protodec", "version" => "#{CURRENT_VERSION}-#{CURRENT_COMMIT}", "branch" => "#{CURRENT_BRANCH}"}