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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-09-15 09:44:55 -04:00
commit 7d27cf9f27

View file

@ -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'