Skip to content

Commit 37a80b0

Browse files
Set versioningit distance dirty to put 'post' in local version segment
1 parent 11ae560 commit 37a80b0

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
@@ -47,6 +47,9 @@ source = "versioningit"
4747
profile = "black"
4848
src_paths = ["src", "tests"]
4949

50+
[tool.versioningit.format]
51+
distance-dirty = "{base_version}+post{distance}{vcs}{rev}.d{build_date:%Y%m%d}"
52+
5053
[tool.versioningit.vcs]
5154
default-tag = "0.0.1"
5255

0 commit comments

Comments
 (0)