Skip to content

Commit 803349d

Browse files
fix: provide a fallback version when the version cannot be determined
1 parent 3b9276f commit 803349d

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
@@ -130,6 +130,9 @@ only-include = [
130130
[tool.hatch.version]
131131
source = "versioningit"
132132

133+
[tool.versioningit]
134+
default-version = "0.0.0"
135+
133136
[tool.versioningit.vcs]
134137
method = "git-archive"
135138
describe-subst = "$Format:%(describe:tags,match=v*)$"

0 commit comments

Comments
 (0)