Skip to content

Commit aebf938

Browse files
committed
build: fix version for test.pypi.org
1 parent e74b4f9 commit aebf938

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ requires = ["hatchling", "uv-dynamic-versioning"]
33
build-backend = "hatchling.build"
44

55
[tool.uv-dynamic-versioning]
6-
dirty = true
76
pattern = "default-unprefixed"
7+
format-jinja = "{{ base }}{% if distance > 0%}.post{{ distance }}.{{ commit }}{% endif %}{% if dirty %}+dirty{% endif %}"
88

99
[tool.hatch.version]
1010
source = "uv-dynamic-versioning"

0 commit comments

Comments
 (0)