don't fail on repos with no tags

This commit is contained in:
Patrick Nicolas committed 2025-05-18 21:54:27 +02:00
1 parent f59015654c
commit d90baecfef
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ def main():
tree = ET.parse(args.metainfo)
if args.nightly:
version = subprocess.check_output(["git", "describe", "--tags"]).decode().strip()
version = subprocess.check_output(["git", "describe", "--tags", "--always"]).decode().strip()
version = version[1:] # remove the initial "v"
write_entry(
out=args.out,