Skip to content

Commit

Permalink
Bump version to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 28, 2023
1 parent 2e95ce0 commit 2a61fb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions polars_business/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()}
Expand Down
2 changes: 1 addition & 1 deletion polars_business/polars_business/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 2a61fb0

Please sign in to comment.