Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dstrigl authored Jun 29, 2023
1 parent 7ae29ac commit 729bc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read(*parts: str) -> str:

def get_version() -> str:
"""Get current version from code."""
regex = r"__version__\s=\s\"(?P<version>[\d\.]+?)\""
regex = r"__version__:\sFinal\s=\s\"(?P<version>[\d\.]+?)\""
path = ("htheatpump", "__version__.py")
match = re.search(regex, read(*path))
assert match is not None
Expand Down

0 comments on commit 729bc24

Please sign in to comment.