Skip to content

Commit 09b95d9

Browse files
committed
Use git describe --match.. with "--tags" to match also lightweight tags
1 parent d22f9d1 commit 09b95d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site_scons/libobjcrystbuildutils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def gitinfo():
2929
nullfile = open(os.devnull, 'w')
3030
kw = dict(stdout=PIPE, stderr=nullfile, cwd=MYDIR,
3131
universal_newlines=True)
32-
proc = Popen(['git', 'describe', '--match=v[[:digit:]]*'], **kw)
32+
proc = Popen(['git', 'describe', '--match=v[[:digit:]]*', '--tags'], **kw)
3333
desc = proc.stdout.read()
3434
if proc.wait():
3535
_cached_gitinfo = {}

0 commit comments

Comments
 (0)