diff --git a/generate.py b/generate.py index 4631e05..9df1ab7 100644 --- a/generate.py +++ b/generate.py @@ -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