Ziskani verze pomoci unifikovaneho skriptu

This commit is contained in:
Pavel Brychta 2021-12-01 09:02:41 +01:00
parent 7d047e934e
commit 40bf89adb6

View File

@ -182,6 +182,9 @@ def copycompresstree(src, dst, compress, dirbase):
# Ziskani verze repozitare z gitu
def getgitversion():
version = subprocess.check_output(["python3","tools/generate/gitrev.py"])
return version.decode("utf-8")
"""
isgit = True
after = b"0"
mod = b""
@ -213,6 +216,7 @@ def getgitversion():
else:
revision = b"0.0.0.x"
return revision.decode("utf-8")
"""
def main(argv):
global flist