File size: 856 Bytes
eb7df4e 12e706d 8f03820 c2f8c9c 8f03820 c2f8c9c 8f03820 eb7df4e 8f03820 eb7df4e 8f03820 12cfa80 8f03820 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
[bumpversion]
current_version = 0.3.9
parse = ^
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+) # Major, minor, patch (X.Y.Z) # Separator
((?P<prerel>a|alpha|b|beta|d|dev|rc) # Prerelease (a, alpha, b, beta, d, dev, rc)
(?P<prerelversion>\d+))? # Prerelease version
serialize =
{major}.{minor}.{patch}{prerel}{prerelversion}
{major}.{minor}.{patch}
[bumpversion:part:prerel]
values =
a
alpha
b
beta
d
dev
rc
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:src/openfactcheck/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
[bumpversion:file:pre-requirements.txt]
search = openfactcheck=={current_version}
replace = openfactcheck=={new_version}
|