From 7da85f5a4f92604a9e3ac30a167106d73d904f0c Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Mon, 10 Dec 2018 10:13:09 -0800 Subject: [PATCH] Strip a newline from the version tag. --- tools/build_board_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_board_info.py b/tools/build_board_info.py index 908bb17e9d..df43f74fce 100644 --- a/tools/build_board_info.py +++ b/tools/build_board_info.py @@ -65,7 +65,7 @@ def get_version_info(): version = None sha = git("rev-parse", "--short", "HEAD").stdout.decode("utf-8") try: - version = git("describe", "--tags", "--exact-match").stdout.decode("utf-8") + version = git("describe", "--tags", "--exact-match").stdout.decode("utf-8").strip() except sh.ErrorReturnCode_128: # No exact match pass