diff --git a/polars_business/bump_version.py b/polars_business/bump_version.py index ec66811..f494679 100644 --- a/polars_business/bump_version.py +++ b/polars_business/bump_version.py @@ -13,6 +13,7 @@ old_version = re.search(r'version = "(.*)"', content).group(1) version = old_version.split(".") if how == "patch": + breakpoint() version = ".".join(version[:-1] + [str(int(version[-1]) + 1)]) elif how == "minor": version = ".".join(version[:-2] + [str(int(version[-2]) + 1), "0"]) diff --git a/polars_business/polars_business/polars_business/__init__.py b/polars_business/polars_business/polars_business/__init__.py index 5aee7e5..5c64f06 100644 --- a/polars_business/polars_business/polars_business/__init__.py +++ b/polars_business/polars_business/polars_business/__init__.py @@ -10,7 +10,7 @@ lib = _get_shared_lib_location(__file__) -__version__ = "['0', '2', '1']" +__version__ = "0.2.2" mapping = {"Mon": 1, "Tue": 2, "Wed": 3, "Thu": 4, "Fri": 5, "Sat": 6, "Sun": 7} reverse_mapping = {value: key for key, value in mapping.items()} diff --git a/polars_business/polars_business/pyproject.toml b/polars_business/polars_business/pyproject.toml index bc43dc5..0379e6b 100644 --- a/polars_business/polars_business/pyproject.toml +++ b/polars_business/polars_business/pyproject.toml @@ -15,5 +15,5 @@ classifiers = [ "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] -version = "['0', '2', '1']" +version = "0.2.2" requires-python = ">=3.8"