Skip to content

Commit fbb422c

Browse files
fix: provide a fallback version when the version cannot be determined
1 parent f8a5001 commit fbb422c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ include = [
135135
[tool.hatch.version]
136136
source = "versioningit"
137137

138+
[tool.versioningit]
139+
default-version = "0.0.0"
140+
138141
[tool.versioningit.vcs]
139142
method = "git-archive"
140143
describe-subst = "$Format:%(describe:tags,match=v*)$"

0 commit comments

Comments
 (0)