version bump script: add release info to AppStream meta info file

This commit is contained in:
Moritz Bunkus 2018-08-19 20:43:51 +02:00
parent 305d61e8dc
commit a6c3d1f7a5
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -97,10 +97,16 @@ function update_docs {
drake
}
function update_appstream_metainfo {
perl -pi -e "s{<releases>\\n}{<releases>\\n <release version=\"${TO}\" date=\"${MANDATE}\"></release>\\n}" \
share/metainfo/org.bunkus.mkvtoolnix-gui.appdata.xml
}
update_news
update_files
update_debian_changelog
update_spec
update_appstream_metainfo
update_docs
echo "Done setting the new version."