Skip to content

Commit 3f63269

Browse files
authored
Use version template in pyproject.toml
1 parent cbc88c6 commit 3f63269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.github_project_name}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ field = [
9999
{ name = "release", default = "" },
100100
]
101101
file = [
102-
{ src = "pyproject.toml" },
102+
{ src = "pyproject.toml", version_template = "version = \"{major}.{minor}.{patch}{channel}{release}\"" },
103103
{ src = "{{ cookiecutter.python_package_name }}/_version.py" },
104104
]
105105

0 commit comments

Comments
 (0)