mirror of
https://github.com/TECHNOFAB11/bump2version.git
synced 2025-12-12 08:00:09 +01:00
- real config parsing - actually working parts, with support for string parts - handle readonly config (preparation for use with Nix) - cleanup cli (remove colors, fancy stuff etc., keep it minimal) - switch to tracing for logging
13 lines
341 B
TOML
13 lines
341 B
TOML
current_version = "0.1.4"
|
|
commit = true
|
|
tag = true
|
|
# 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"]
|
|
format = 'version = "{version}"'
|