Skip to content

Commit d59f4d9

Browse files
committed
Add --tags to allow reporting of lightweight tagged versions
1 parent 0c6ac9b commit d59f4d9

File tree

1 file changed

+1
-1
lines changed
  • python/lsst/sconsUtils/vcs

1 file changed

+1
-1
lines changed

python/lsst/sconsUtils/vcs/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def guessVersionName():
2424
if not os.path.exists(".git"):
2525
state.log.warn(f"Cannot guess version without .git directory; will be set to '{name}'.")
2626
else:
27-
name = utils.runExternal("git describe --always --dirty", fatal=False).strip()
27+
name = utils.runExternal("git describe --always --dirty --tags", fatal=False).strip()
2828

2929
return name
3030

0 commit comments

Comments
 (0)