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 2ce4638 commit 11775c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ctlearn/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
from subprocess import check_output, CalledProcessError
from os import path, name, devnull, environ, listdir
from ast import literal_eval
import git

__all__ = ("get_version", "get_version_pypi")

Expand Down Expand Up @@ -82,6 +83,12 @@ def get_git_describe_version(abbrev=7):
"""return the string output of git desribe"""
try:
with open(devnull, "w") as fnull:


repo = git.Repo("/usr/share/info")

tagList=repo.git.ls_remote("--tags", "origin")
print(tagList)
arguments = ['git', '--info-path']
print('HOLA1')
cmd = 'git describe --tags --match [0-9]*'.split()
Expand Down

0 comments on commit 11775c0

Please sign in to comment.