Skip to content

Commit

Permalink
print debugging lol. lmao.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Dec 9, 2024
1 parent b7dd62e commit d4a3ba4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ def _get_vrs_submodule_info() -> tuple[str, str, int]:
"""
try:
vrs_path = "submodules/vrs"
print("debug 1")
commit = subprocess.check_output(
["git", "rev-parse", "HEAD"], cwd=vrs_path, text=True
).strip()
print("debug 2")
subprocess.run(["git", "fetch", "--all", "--tags"], cwd=vrs_path)
print("debug 3")
tag = subprocess.check_output(
["git", "describe", "--tags", "--abbrev=0"], cwd=vrs_path, text=True
).strip()
print("debug 4")
distance = subprocess.check_output(
["git", "rev-list", f"{tag}..HEAD", "--count"],
cwd=vrs_path,
Expand Down

0 comments on commit d4a3ba4

Please sign in to comment.