Disable 'dirty' flag for version numbers.

This commit is contained in:
Pavel Minaev 2018-04-19 16:45:20 -07:00
parent 9eb55acd7c
commit 04be0aefa6

View file

@ -1046,7 +1046,8 @@ def git_pieces_from_vcs(tag_prefix, root, verbose, run_command=run_command):
# if there is a tag matching tag_prefix, this yields TAG-NUM-gHEX[-dirty]
# if there isn't one, this yields HEX[-dirty] (no NUM)
describe_out, rc = run_command(GITS, ["describe", "--tags", "--dirty",
describe_out, rc = run_command(GITS, ["describe", "--tags",
#"--dirty",
"--always", "--long",
"--match", "%s*" % tag_prefix],
cwd=root)