From 7d27cf9f2798298e7c40695ee13e5cf77b07d677 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 15 Sep 2019 09:44:55 -0400 Subject: [PATCH] doc: link-roles: convert bytes to string Get the correct branch name as a string instead of bytes. Fixes #19165 Signed-off-by: Anas Nashif --- doc/extensions/zephyr/link-roles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/extensions/zephyr/link-roles.py b/doc/extensions/zephyr/link-roles.py index ecb29398c4c..9b827e53565 100644 --- a/doc/extensions/zephyr/link-roles.py +++ b/doc/extensions/zephyr/link-roles.py @@ -14,7 +14,7 @@ from local_util import run_cmd_get_output def get_github_rev(): tag = run_cmd_get_output('git describe --exact-match') if tag: - return tag + return tag.decode("utf-8") else: return 'master'