Skip to content

Commit 92c0fca

Browse files
committed
fix version file writing
1 parent 11e2997 commit 92c0fca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ repository = "https://github.com/sphinx-contrib/spelling"
4444

4545
[tool.hatch.version]
4646
source = "vcs"
47-
path = "sphinxcontrib/spelling/version.py"
47+
48+
[tool.hatch.build.hooks.vcs]
49+
version-file = "sphinxcontrib/spelling/version.py"
4850

4951
[tool.hatch.build.targets.sdist]
5052
exclude = [".github", "cover", ".mergify.yml", ".gitignore"]

0 commit comments

Comments
 (0)