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'
|
author = 'IDRL'
|
||||||
|
|
||||||
# The full version, including alpha/beta/rc tags
|
# The full version, including alpha/beta/rc tags
|
||||||
release = '0.0.1-alpha'
|
release = '0.0.1-rc1'
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="idrlnet", # Replace with your own username
|
name="idrlnet", # Replace with your own username
|
||||||
version="0.0.1",
|
version="0.0.1-rc1",
|
||||||
author="Intelligent Design & Robust Learning lab",
|
author="Intelligent Design & Robust Learning lab",
|
||||||
author_email="weipeng@deepinfar.cn",
|
author_email="weipeng@deepinfar.cn",
|
||||||
description="IDRLnet",
|
description="IDRLnet",
|
||||||
|
|
Loading…
Reference in New Issue