diff options
Diffstat (limited to 'numpy/_version.py')
-rw-r--r-- | numpy/_version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/_version.py b/numpy/_version.py index 73f9f5c7f..6605bf4af 100644 --- a/numpy/_version.py +++ b/numpy/_version.py @@ -236,7 +236,7 @@ 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) |