From 0490eb7844330f2914b74a5553aca6e3781c1f60 Mon Sep 17 00:00:00 2001 From: Joseph Weston Date: Thu, 14 Oct 2021 00:52:31 +0000 Subject: [PATCH] Update unannotated tags patch --- unannotated-tags.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unannotated-tags.patch b/unannotated-tags.patch index ca41048..5690c91 100644 --- a/unannotated-tags.patch +++ b/unannotated-tags.patch @@ -1,11 +1,11 @@ Apply this patch to "_version.py" to get Miniver to calculate the version using unannotated tags in addition to annotated tags. -@@ -86,7 +86,7 @@ def get_version_from_git(): +@@ -68,7 +68,7 @@ def get_version_from_git(): for opts in [["--first-parent"], []]: try: p = subprocess.Popen( - ["git", "describe", "--long", "--always"] + opts, + ["git", "describe", "--long", "--always", "--tags"] + opts, - cwd=distr_root, + cwd=package_root, stdout=subprocess.PIPE, stderr=subprocess.PIPE,