From 8a57fc3418292e79f9c48759d79821af594b59e8 Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Fri, 17 Dec 2021 07:51:59 +0100 Subject: [PATCH] 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 --- tools/get_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/get_version.py b/tools/get_version.py index 9430523ea..29faa47a7 100755 --- a/tools/get_version.py +++ b/tools/get_version.py @@ -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