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 f3e68c5 commit 38348fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctlearn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_git_describe_version(abbrev=7):
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())
print(check_output(cmd, shell=True).decode().strip())
return (
check_output("git describe --tags", cwd=CURRENT_DIRECTORY, stderr=fnull)
.decode("ascii")
Expand Down

0 comments on commit 38348fb

Please sign in to comment.