Silence git error in gen_flatpak_manifest
This commit is contained in:
@@ -48,7 +48,8 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
git_commit = subprocess.check_output(
|
git_commit = subprocess.check_output(
|
||||||
["git", "describe", "--exact-match", "--tags"],
|
["git", "describe", "--exact-match", "--tags"],
|
||||||
cwd=root
|
cwd=root,
|
||||||
|
stderr=subprocess.DEVNULL
|
||||||
).decode().strip()
|
).decode().strip()
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
git_commit = subprocess.check_output(
|
git_commit = subprocess.check_output(
|
||||||
|
|||||||
Reference in New Issue
Block a user