Skip to content

Commit aa4bd66

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

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 @@ artifacts = ["disnake/_version.py"]
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)