Skip to content

Commit

Permalink
Fixed Debian metadata XML duplicate release tag (#8256)
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink authored Nov 11, 2024
2 parents eed451c + f0f8501 commit 8a39250
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/debian/update_metainfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 8a39250

Please sign in to comment.