diff --git a/src/protodec.cr b/src/protodec.cr index 7a03ec1..dc431d3 100644 --- a/src/protodec.cr +++ b/src/protodec.cr @@ -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",