Skip to content

Commit 8d0ae0b

Browse files
committed
fix: add fallback version for hatch versioning in pyproject.toml
Signed-off-by: Frost Ming <me@frostming.com>
1 parent cc2226b commit 8d0ae0b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ build-backend = "hatchling.build"
6969

7070
[tool.hatch.version]
7171
source = "vcs"
72+
fallback-version = "0.3.0"
7273

7374
[tool.hatch.build.hooks.vcs]
7475
version-file = "src/bub/_version.py"

0 commit comments

Comments
 (0)