mirror of
https://github.com/samschott/maestral.git
synced 2024-11-15 00:18:33 +03:00
32 lines
661 B
INI
32 lines
661 B
INI
[bumpversion]
|
|
current_version = 1.9.4
|
|
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 = >={current_version}
|
|
replace = >={new_version}
|