chore: use 'git describe --tags' to deduce the version for current build
Co-authored-by: pancho horrillo <pancho.horrillo@bbva.com>
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user