Add "--always" option to the git describe command in tools

It seems that without that option our docs builds on readthedocs
are failing now. Git advices there to use "--always" option so lets
try that.

Change-Id: I90ccccb51e46353495e6cc42547a30b842d90805
This commit is contained in:
Slawek Kaplonski 2021-12-17 07:51:59 +01:00
parent f1d485cbc8
commit 8a57fc3418
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def get_version():
version = CACHE.get('version')
if not version:
CACHE['version'] = version = common.execute(
f"git -C '{TOP_DIR}' describe").splitlines()[0]
f"git -C '{TOP_DIR}' describe --always").splitlines()[0]
return version