mirror of
https://github.com/iv-org/protodec.git
synced 2025-12-15 00:09:08 -05:00
Add fallback to commit ID when version tag is missing (#7)
This commit is contained in:
parent
6acc7229c2
commit
3d32ad0e8d
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ require "./protodec/utils"
|
|||
|
||||
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}" }}
|
||||
CURRENT_VERSION = {{ "#{`git describe --always --tags --abbrev=0`.strip}" }}
|
||||
|
||||
SOFTWARE = {
|
||||
"name" => "protodec",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue