Skip to content

Commit 9432035

Browse files
fix bumpver patterns to be less greedy
1 parent 337f52d commit 9432035

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ version_pattern = "MAJOR.MINOR.PATCH[-TAG[.NUM]]"
8686

8787
[tool.bumpver.file_patterns]
8888
"crates/djls/Cargo.toml" = [
89-
'version = "{version}"',
89+
'^version = "{version}"',
9090
]
9191
"pyproject.toml" = [
92-
'version = "{pep440_version}"',
93-
'current_version = "{version}"',
92+
'^version = "{pep440_version}"',
93+
'^current_version = "{version}"',
9494
]
9595

9696
[tool.djlint]

0 commit comments

Comments
 (0)