forked from idrl/idrlnet
chroe: add bump2version
This commit is contained in:
parent
f665364ef0
commit
84cbcce755
|
@ -0,0 +1,24 @@
|
|||
[bumpversion]
|
||||
current_version = 0.0.1-rc1
|
||||
commit = True
|
||||
tag = True
|
||||
tag_name = v{new_version}
|
||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(dev|rc))+(?P<build>\d+))?
|
||||
serialize =
|
||||
{major}.{minor}.{patch}-{release}{build}
|
||||
{major}.{minor}.{patch}
|
||||
|
||||
[bumpversion:part:release]
|
||||
first_value = dev
|
||||
optional_value = ga
|
||||
values =
|
||||
dev
|
||||
rc
|
||||
ga
|
||||
|
||||
[bumpversion:part:build]
|
||||
first_value = 1
|
||||
|
||||
[bumpversion:file:setup.py]
|
||||
|
||||
[bumpversion:file:docs/conf.py]
|
|
@ -22,7 +22,7 @@ copyright = '2021, IDRL'
|
|||
author = 'IDRL'
|
||||
|
||||
# The full version, including alpha/beta/rc tags
|
||||
release = '0.0.1-alpha'
|
||||
release = '0.0.1-rc1'
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue