maestral/.bumpversion.cfg
2024-03-20 21:51:42 +01:00

36 lines
764 B
INI

[bumpversion]
current_version = 1.9.0.dev0
commit = True
tag = False
parse = ^
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
(\.(?P<prekind>a|alpha|b|beta|d|dev|rc)
(?P<pre>\d+) # pre-release version num
)?
(\.(?P<postkind>post)(?P<post>\d+))? # post-release
serialize =
{major}.{minor}.{patch}.{prekind}{pre}.{postkind}{post}
{major}.{minor}.{patch}.{prekind}{pre}
{major}.{minor}.{patch}.{postkind}{post}
{major}.{minor}.{patch}
[bumpversion:part:prekind]
optional_value = _
values =
dev
_
[bumpversion:part:postkind]
optional_value = _
values =
_
post
[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
[bumpversion:file:src/maestral/__init__.py]
[bumpversion:file:docs/conf.py]