docs: Add build support for python3
This commit is contained in:
parent
ce67428c56
commit
d66b227e07
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@ from repo_util import run_cmd_get_output
|
||||||
def get_github_rev():
|
def get_github_rev():
|
||||||
path = run_cmd_get_output('git rev-parse --short HEAD')
|
path = run_cmd_get_output('git rev-parse --short HEAD')
|
||||||
tag = run_cmd_get_output('git describe --exact-match')
|
tag = run_cmd_get_output('git describe --exact-match')
|
||||||
print 'Git commit ID: ', path
|
print ('Git commit ID: ', path)
|
||||||
if len(tag):
|
if len(tag):
|
||||||
print 'Git tag: ', tag
|
print ('Git tag: ', tag)
|
||||||
path = tag
|
path = tag
|
||||||
return path
|
return path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue