Skip to content

Commit ce2bc87

Browse files
committed
Add version raw options to remove dev and timestamp tags (for local builds)
1 parent 9cf9ff6 commit ce2bc87

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
@@ -56,6 +56,7 @@ fallback-version = "0.1.0"
5656
# allows for tags with the format 0.1.0a1
5757
tag-pattern = "(?P<version>([1-9][0-9]*!)?(0|[1-9][0-9]*)(\\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?)"
5858
#version_format = "phoebus_guibuiler.version:format_version"
59+
raw-options = { version_scheme = "only-version", local_scheme = "dirty-tag" }
5960

6061
[tool.hatch.build.hooks.vcs]
6162
version-file = "src/phoebus_guibuilder/_version.py"

0 commit comments

Comments
 (0)