Skip to content

Commit

Permalink
might need to spec path
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Nov 29, 2024
1 parent 3959e21 commit e9c5122
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ def _get_vrs_submodule_info() -> tuple[str, str, int]:
commit = subprocess.check_output(
["git", "rev-parse", "HEAD"], cwd=vrs_path, text=True
).strip()
print("hey i'm debugging here")
subprocess.run(["git", "fetch", "--tags"])
print("hey i'm debugging here")
subprocess.run(["git", "fetch", "--tags"], cwd=vrs_path)
tag = subprocess.check_output(
["git", "describe", "--tags", "--abbrev=0"], cwd=vrs_path, text=True
).strip()
print("hey i'm debugging here")
distance = subprocess.check_output(
["git", "rev-list", f"{tag}..HEAD", "--count"],
cwd=vrs_path,
Expand Down

0 comments on commit e9c5122

Please sign in to comment.