Skip to content

Commit

Permalink
BLD: auto update the tag for git describe.
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonyanglong committed Dec 10, 2022
1 parent 6fed4a1 commit 8b5503f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
def gitinfo():
from subprocess import Popen, PIPE
kw = dict(stdout=PIPE, cwd=MYDIR, universal_newlines=True)
proc = Popen(['git', 'describe', '--match=v[[:digit:]]*'], **kw)
proc = Popen(['git', 'describe', '--tags', '--match=v[[:digit:]]*'], **kw)
desc = proc.stdout.read()
proc = Popen(['git', 'log', '-1', '--format=%H %ct %ci'], **kw)
glog = proc.stdout.read()
Expand Down

0 comments on commit 8b5503f

Please sign in to comment.