From 40bf89adb689f3aba43c3f92f5344cee8140b0df Mon Sep 17 00:00:00 2001 From: Pavel Brychta Date: Wed, 1 Dec 2021 09:02:41 +0100 Subject: [PATCH] Ziskani verze pomoci unifikovaneho skriptu --- generate.py | 4 ++++ 1 file changed, 4 insertions(+) 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