Skip to content

Commit 27cb9ad

Browse files
fix: provide a fallback version when the version cannot be determined
1 parent 34b3023 commit 27cb9ad

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
@@ -137,6 +137,9 @@ artifacts = ["disnake/_version.py"]
137137
[tool.hatch.version]
138138
source = "versioningit"
139139

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

0 commit comments

Comments
 (0)