Skip to content

Commit

Permalink
maybe need to fetch tags?
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Nov 29, 2024
1 parent 7ad83d3 commit 7442642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def _get_vrs_submodule_info() -> tuple[str, str, int]:
commit = subprocess.check_output(
["git", "rev-parse", "HEAD"], cwd=vrs_path, text=True
).strip()
subprocess.run(["git", "fetch", "--tags"])
tag = subprocess.check_output(
["git", "describe", "--tags", "--abbrev=0"], cwd=vrs_path, text=True
).strip()
Expand Down

0 comments on commit 7442642

Please sign in to comment.