Skip to content

Commit

Permalink
Merge pull request #47 from mochipon/release/0.5.0rc1
Browse files Browse the repository at this point in the history
Bump version: 0.4.1 → 0.5.0-rc.1
  • Loading branch information
mochipon committed Jul 20, 2021
2 parents e9549e1 + 8a7ca4b commit a351640
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
6 changes: 1 addition & 5 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
[bumpversion]
current_version = 0.4.1
current_version = 0.5.0-rc.1
commit = True
tag = True

[bumpversion:file:pyproject.toml]
search = version = "{current_version}"
replace = version = "{new_version}"

[bumpversion:file:pysesame3/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ repo_name: pysesame3
strict: true
extra_css:
- styles/override.css
extra_javascript:
- "https://code.jquery.com/jquery-3.6.0.min.js"
nav:
- Home: index.md
- Installation: installation.md
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[tool.poetry]
name = "pysesame3"
version = "0.4.1"
version = "0.5.0-rc.1"
homepage = "https://github.com/mochipon/pysesame3"
description = "Unofficial library to communicate with Sesame smart locks."
authors = ["Masaki Tagawa <masaki@tagawa.email>"]
Expand All @@ -28,6 +28,7 @@ packages = [
python = ">=3.6.1,<4.0"

typing-extensions = { version = "^3.10.0.0", python = "<3.8" }
importlib-metadata = {version = "^1.0", python = "<3.8"}

pycryptodome = { version = "^3.10.1" }
requests = { version = "^2.25.1" }
Expand Down
6 changes: 5 additions & 1 deletion pysesame3/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
"""Top-level package for pysesame3."""
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata # type: ignore

__author__ = """Masaki Tagawa"""
__version__ = "0.4.1"
__version__ = importlib_metadata.version(__name__)

0 comments on commit a351640

Please sign in to comment.