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,