diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..a2c4beb --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,24 @@ +[bumpversion] +current_version = 0.0.1-rc1 +commit = True +tag = True +tag_name = v{new_version} +parse = (?P\d+)\.(?P\d+)\.(?P\d+)([-](?P(dev|rc))+(?P\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] diff --git a/docs/conf.py b/docs/conf.py index ddd4336..2f1f833 100644 --- a/docs/conf.py +++ b/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 --------------------------------------------------- diff --git a/setup.py b/setup.py index faba612..4878d9b 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as fh: setuptools.setup( name="idrlnet", # Replace with your own username - version="0.0.1", + version="0.0.1-rc1", author="Intelligent Design & Robust Learning lab", author_email="weipeng@deepinfar.cn", description="IDRLnet",