[gnome-contacts/gnome-40] appstream: Use ~ for development releases
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/gnome-40] appstream: Use ~ for development releases
- Date: Tue, 30 Mar 2021 12:15:14 +0000 (UTC)
commit 6aa4a195ae325ba955abef37e6eaba8565a02295
Author: Niels De Graef <nielsdegraef gmail com>
Date: Tue Mar 30 10:29:18 2021 +0200
appstream: Use ~ for development releases
Appstream-glib doesn't think `40.alpha` `40.beta`, `40.0` is the correct
order, so just workaround it by using tilde (which is commonly used to
get around lexical ordering).
(cherry picked from commit 1dedc1353c0edf36f3efc28ced1ade6d80dea2dc)
data/meson.build | 4 +---
data/org.gnome.Contacts.appdata.xml.in.in | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 72009200..435ff20e 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -54,9 +54,7 @@ appdata_file = i18n.merge_file(
)
# Validate the appdata file
appstream_util = find_program('appstream-util', required: false)
-# Disabling this test for now, see https://github.com/hughsie/appstream-glib/issues/391
-# if appstream_util.found()
-if false
+if appstream_util.found()
test('validate-appdata', appstream_util,
suite: 'data',
args: [
diff --git a/data/org.gnome.Contacts.appdata.xml.in.in b/data/org.gnome.Contacts.appdata.xml.in.in
index ef98fb3a..036c058c 100644
--- a/data/org.gnome.Contacts.appdata.xml.in.in
+++ b/data/org.gnome.Contacts.appdata.xml.in.in
@@ -52,7 +52,7 @@
<p>This release also updates translations in several languages</p>
</description>
</release>
- <release date="2021-03-01" version="40.beta" type="development">
+ <release date="2021-03-01" version="40~beta" type="development">
<description>
<p>
This is the second unstable release in the GNOME 40 series,
@@ -65,7 +65,7 @@
<p>This release also updates translations in several languages.</p>
</description>
</release>
- <release date="2021-02-13" version="40.alpha" type="development">
+ <release date="2021-02-13" version="40~alpha" type="development">
<description>
<p>
This is the first unstable release in the GNOME 40 series,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]