feat: allow replacing multiple lines per file

This commit is contained in:
TECHNOFAB 2024-12-29 17:54:38 +01:00
parent 053b7cb94b
commit a576cb735f
No known key found for this signature in database
GPG key ID: D06FBA11BA6FF836
5 changed files with 22 additions and 20 deletions

View file

@ -1,4 +1,4 @@
current_version = "1.0.2"
current_version = "1.1.0"
commit = true
tag = true
message = "chore: bump {current_version} → {new_version}"
@ -11,8 +11,8 @@ type = "string"
values = ["alpha", "beta", "stable"]
[file."Cargo.toml"]
format = 'version = "{version}"'
formats = ['version = "{version}"']
[file."Cargo.lock"]
format = """name = "bump2version"
version = "{version}""""
formats = ["""name = "bump2version"
version = "{version}""""]