Update Bumpversion config

This commit is contained in:
Alexander Engelsberger 2021-05-10 15:07:40 +02:00
parent ce3991de94
commit ac3091d8da
4 changed files with 5 additions and 14 deletions

View File

@ -1,20 +1,11 @@
[bumpversion] [bumpversion]
current_version = 0.3.0-dev0 current_version = 0.3.1
commit = True commit = True
tag = True tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))? parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
serialize = serialize =
{major}.{minor}.{patch}-{release}{build}
{major}.{minor}.{patch} {major}.{minor}.{patch}
[bumpversion:part:release]
optional_value = prod
first_value = dev
values =
dev
rc
prod
[bumpversion:file:setup.py] [bumpversion:file:setup.py]
[bumpversion:file:./prototorch/__init__.py] [bumpversion:file:./prototorch/__init__.py]

View File

@ -23,7 +23,7 @@ author = "Jensun Ravichandran"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
# #
release = "0.3.0-dev0" release = "0.3.1"
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View File

@ -1,7 +1,7 @@
"""ProtoTorch package.""" """ProtoTorch package."""
# Core Setup # Core Setup
__version__ = "0.3.0-dev0" __version__ = "0.3.1"
__all_core__ = [ __all_core__ = [
"datasets", "datasets",

View File

@ -41,7 +41,7 @@ ALL = DOCS + DATASETS + EXAMPLES + TESTS
setup( setup(
name="prototorch", name="prototorch",
version="0.3.0-dev0", version="0.3.1",
description="Highly extensible, GPU-supported " description="Highly extensible, GPU-supported "
"Learning Vector Quantization (LVQ) toolbox " "Learning Vector Quantization (LVQ) toolbox "
"built using PyTorch and its nn API.", "built using PyTorch and its nn API.",