Skip to content

Commit

Permalink
Update version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rcervinoucm authored May 24, 2024
1 parent 337b528 commit f3e68c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ctlearn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def get_git_describe_version(abbrev=7):
try:
with open(devnull, "w") as fnull:
arguments = [GIT_COMMAND, "describe", "--tags", "--abbrev=%d" % abbrev]
cmd = 'git describe --tags --match [0-9]*'.split()
print(check_output(cmd).decode().strip())
return (
check_output("git describe --tags", cwd=CURRENT_DIRECTORY, stderr=fnull)
.decode("ascii")
Expand Down

0 comments on commit f3e68c5

Please sign in to comment.