Skip to content

Commit 7ccc5bf

Browse files
committed
CI: Harmonize versioningit with GHA release workflow
1 parent db2b317 commit 7ccc5bf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ packages = ["src/crate"]
1919

2020
[tool.hatch.version]
2121
source = "versioningit"
22-
default-version = "0.0.0+unknown"
22+
23+
[tool.versioningit.vcs]
24+
method = "git-archive"
25+
default-tag = "0.0.0"
26+
describe-subst = "$Format:%(describe:tags)$"
2327

2428
[project]
2529
name = "crate"

0 commit comments

Comments
 (0)