Skip to content

Commit b7dd533

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

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
@@ -129,6 +129,9 @@ artifacts = ["disnake/_version.py"]
129129
[tool.hatch.version]
130130
source = "versioningit"
131131

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

0 commit comments

Comments
 (0)