Skip to content

Commit

Permalink
Debug setup
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Mar 20, 2024
1 parent cd9871c commit 084846c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ def _plugin_version_trim() -> str:
"""
attributes = {}
exec(VERSION.read_text(), attributes)
print("================")
print("================")
print(attributes["version"])
pattern = r"\+build\d+$"
print(re.sub(pattern, "", attributes["version"]))
print("================")
print("================")
return re.sub(pattern, "", attributes["version"])


Expand Down

0 comments on commit 084846c

Please sign in to comment.