[nautilus/wip/oholy/appdata-update: 2/2] appdata: Fill the latest release automatically



commit 98caff8bcad19574b79545f5caf8156b0b35549d
Author: Ondrej Holy <oholy redhat com>
Date:   Fri May 29 08:58:35 2020 +0200

    appdata: Fill the latest release automatically
    
    The list of releases is outdated, which is probably why GNOME Software and
    "flatpak info" shows version 3.32.1 for our nightly bundles, although the
    About dialog shows something completely different. Let's remove the list of
    outdated releases and fill the latest release automatically.

 data/meson.build                          |  1 +
 data/org.gnome.Nautilus.appdata.xml.in.in | 12 +++++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 7218b84e0..a3f3981a1 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -56,6 +56,7 @@ desktop_autorun_software = i18n.merge_file(
 appdata_conf = configuration_data()
 
 appdata_conf.set('appid', application_id)
+appdata_conf.set('version', meson.project_version())
 
 appdata = i18n.merge_file(
   'appdata',
diff --git a/data/org.gnome.Nautilus.appdata.xml.in.in b/data/org.gnome.Nautilus.appdata.xml.in.in
index e2f6edbd4..2c975907b 100644
--- a/data/org.gnome.Nautilus.appdata.xml.in.in
+++ b/data/org.gnome.Nautilus.appdata.xml.in.in
@@ -27,11 +27,13 @@
   <url type="translate">https://wiki.gnome.org/TranslationProject</url>
   <launchable type="desktop-id">@appid@.desktop</launchable>
   <releases>
-    <release version="3.32.1" date="2019-05-05"/>
-    <release version="3.32.0" date="2019-03-13"/>
-    <release version="3.30.5" date="2018-12-12"/>
-    <release version="3.30.4" date="2018-11-21"/>
-    <release version="3.30.3" date="2018-10-31"/>
+    <release version="@version@">
+      <description>
+        <p>
+          This is the latest version of Files.
+        </p>
+      </description>
+    </release>
   </releases>
   <project_group>GNOME</project_group>
   <project_license>GPL-2.0+</project_license>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]