mirror of
https://github.com/samschott/maestral.git
synced 2024-11-13 05:40:53 +03:00
36 lines
764 B
INI
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]
|