Docs: Fixed a minor issue with version string
This patch removes the '#' from the output of the
auto-detected version string.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
Change-Id: I90ad1283ce930f311887b2edbfeccce9c971bfa3
diff --git a/tools/documentation/tfm_cmake_defaults.py b/tools/documentation/tfm_cmake_defaults.py
index 5fb7b86..9aff5c6 100644
--- a/tools/documentation/tfm_cmake_defaults.py
+++ b/tools/documentation/tfm_cmake_defaults.py
@@ -1,5 +1,5 @@
# -----------------------------------------------------------------------------
-# Copyright (c) 2020, Arm Limited. All rights reserved.
+# Copyright (c) 2020-2021, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -186,8 +186,8 @@
tfm_def_tfm_ver_shrt = ".".join(version[:2])
if (int(commit_no) > 0):
- tfm_def_tfm_ver_full = "%s+ ( #%s )" % (tfm_def_tfm_ver_full, git_hash)
- tfm_def_tfm_ver_shrt = "%s+ ( #%s )" % (tfm_def_tfm_ver_shrt, git_hash)
+ tfm_def_tfm_ver_full = "%s+ ( %s )" % (tfm_def_tfm_ver_full, git_hash)
+ tfm_def_tfm_ver_shrt = "%s+ ( %s )" % (tfm_def_tfm_ver_shrt, git_hash)
tfm_def_tfm_ver_shrt = tfm_def_tfm_ver_full