From c71cadea607dd1b31a05c2385536b1e9a692cf6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Thu, 24 Dec 2020 16:41:16 +0100 Subject: [PATCH] chore: use 'git describe --tags' to deduce the version for current build Co-authored-by: pancho horrillo --- docs/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 24c56fa..f482f75 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,7 +24,7 @@ author = 'BBVA Innovation Labs' # The full version, including alpha/beta/rc tags. try: - release = re.sub('^v', '', os.popen('git describe').read().strip()) + release = re.sub('^v', '', os.popen('git describe --tags').read().strip()) except: release = 'unknown'