Skip to content

Commit feadbf6

Browse files
fix: provide a fallback version when the version cannot be determined
1 parent 228e702 commit feadbf6

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
@@ -136,6 +136,9 @@ include = [
136136
[tool.hatch.version]
137137
source = "versioningit"
138138

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

0 commit comments

Comments
 (0)