Silence git error in gen_flatpak_manifest

This commit is contained in:
Patrick Nicolas
2025-02-08 19:20:22 +01:00
parent 3b47e79901
commit 3af8a0a9e1
+2 -1
View File
@@ -48,7 +48,8 @@ if __name__ == "__main__":
try:
git_commit = subprocess.check_output(
["git", "describe", "--exact-match", "--tags"],
cwd=root
cwd=root,
stderr=subprocess.DEVNULL
).decode().strip()
except subprocess.CalledProcessError:
git_commit = subprocess.check_output(