Skip to content

Commit 8a0caf6

Browse files
authored
Use more explicit version template for pyproject (#919)
To avoid accidentally bumping a dependency
1 parent 0ff7d86 commit 8a0caf6

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
@@ -136,7 +136,7 @@ version_template = '({major}, {minor}, {patch}, "{channel}", "{release}")'
136136

137137
[[tool.tbump.file]]
138138
src = "pyproject.toml"
139-
version_template = "{major}.{minor}.{patch}{channel}{release}"
139+
version_template = "version = \"{major}.{minor}.{patch}{channel}{release}\""
140140

141141
[[tool.tbump.file]]
142142
src = "docs/source/conf.py"

0 commit comments

Comments
 (0)