From 2da1cd4d69ecec36df1e1163e6e7268b2dc9ca3b Mon Sep 17 00:00:00 2001 From: Ayush Shukla <71904196+ayushuk@users.noreply.github.com> Date: Mon, 22 Jan 2024 08:29:19 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20FIx=20CI=20version=20names=20(#3?= =?UTF-8?q?14)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.py b/version.py index 743baee7..39542079 100644 --- a/version.py +++ b/version.py @@ -4,7 +4,7 @@ try: with open(os.devnull, 'w') as devnull: - v = subprocess.check_output(['git', 'describe', '--dirty', '--abbrev'], stderr=stdout).decode().strip() + v = subprocess.check_output(['git', 'describe', '--tags', '--dirty', '--abbrev'], stderr=stdout).decode().strip() if '-' in v: bv = v[:v.index('-')] bv = bv[:bv.rindex('.') + 1] + str(int(bv[bv.rindex('.') + 1:]) + 1)