Skip to content

Commit

Permalink
temp - debug read the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Jul 21, 2024
1 parent eaa64c0 commit dba135f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/websockets/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_version(tag: str) -> str:
try:
description = subprocess.run(
["git", "describe", "--dirty", "--tags", "--long"],
capture_output=True,
# capture_output=True,
cwd=root_dir,
timeout=1,
check=True,
Expand All @@ -63,7 +63,7 @@ def get_version(tag: str) -> str:
subprocess.CalledProcessError,
subprocess.TimeoutExpired,
):
pass
raise
else:
description_re = r"[0-9.]+-([0-9]+)-(g[0-9a-f]{7,}(?:-dirty)?)"
match = re.fullmatch(description_re, description)
Expand Down

0 comments on commit dba135f

Please sign in to comment.