diff --git a/build/debian/update_metainfo.py b/build/debian/update_metainfo.py index b48733c80d..7cb9b64b85 100644 --- a/build/debian/update_metainfo.py +++ b/build/debian/update_metainfo.py @@ -7,6 +7,5 @@ tree = parse(metainfo_xml) root = tree.getroot() releases_tag = root.find("releases") - releases_tag.append(SubElement(releases_tag, "release", {"version": getenv("GITHUB_TAG"), - "date": strftime("%Y-%m-%d", localtime())})) + SubElement(releases_tag, "release", {"version": getenv("GITHUB_TAG"), "date": strftime("%Y-%m-%d", localtime())}) tree.write(metainfo_xml, encoding="utf-8", xml_declaration=True)