Skip to content

Commit c208be2

Browse files
committed
MNT: show all tags when using gitinfo
1 parent 3d28276 commit c208be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
def gitinfo():
2828
from subprocess import Popen, PIPE
2929
kw = dict(stdout=PIPE, cwd=MYDIR, universal_newlines=True)
30-
proc = Popen(['git', 'describe', '--match=v[[:digit:]]*'], **kw)
30+
proc = Popen(['git', 'describe', '--tags', '--match=v[[:digit:]]*'], **kw)
3131
desc = proc.stdout.read()
3232
proc = Popen(['git', 'log', '-1', '--format=%H %ct %ci'], **kw)
3333
glog = proc.stdout.read()

0 commit comments

Comments
 (0)