mirror of
https://github.com/TECHNOFAB11/bump2version.git
synced 2025-12-10 23:20:07 +01:00
18 lines
487 B
TOML
18 lines
487 B
TOML
current_version = "1.1.1"
|
|
commit = true
|
|
tag = true
|
|
message = "chore: bump {current_version} → {new_version}"
|
|
# parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<stage>[^.]*)\.(?P<devnum>\d+))?'
|
|
# serialize = "{major}.{minor}.{patch}-{stage}.{devnum}"
|
|
|
|
# example part:
|
|
[part.stage]
|
|
type = "string"
|
|
values = ["alpha", "beta", "stable"]
|
|
|
|
[file."Cargo.toml"]
|
|
formats = ['version = "{version}"']
|
|
|
|
[file."Cargo.lock"]
|
|
formats = ["""name = "bump2version"
|
|
version = "{version}""""]
|