From 04be0aefa6f89d69bddb4d0733cd67ad997b8399 Mon Sep 17 00:00:00 2001 From: Pavel Minaev Date: Thu, 19 Apr 2018 16:45:20 -0700 Subject: [PATCH] Disable 'dirty' flag for version numbers. --- versioneer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/versioneer.py b/versioneer.py index 64fea1c8..1913332d 100644 --- a/versioneer.py +++ b/versioneer.py @@ -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)