update-metainfo-releases.py: rename from update-appdata-releases.py

It is now recommended to call it metainfo rather than appdata, so let's
do that here too. Also change mirage to moment.
This commit is contained in:
Newbyte 2022-01-24 15:32:44 +01:00
parent 8a3145d2be
commit 7fddf62e4a
No known key found for this signature in database
GPG Key ID: 5873C171C9429CFA

View File

@ -15,7 +15,7 @@ for line in (root / "docs" / "CHANGELOG.md").read_text().splitlines():
args = (html.escape(match.group(1)), html.escape(match.group(2))) args = (html.escape(match.group(1)), html.escape(match.group(2)))
release_lines.append(' <release version="%s" date="%s"/>' % args) release_lines.append(' <release version="%s" date="%s"/>' % args)
appdata = root / "packaging" / "mirage.appdata.xml" appdata = root / "packaging" / "moment.metainfo.xml"
in_releases = False in_releases = False
final_lines = [] final_lines = []