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:
parent
f914669075
commit
7d27cf9f27
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue