From a3ff641a8f7818438c3c3d0f997ad4e575dc5237 Mon Sep 17 00:00:00 2001 From: MelianMiko Date: Sat, 23 Nov 2024 16:59:12 +0700 Subject: [PATCH] [Fix] Metainfo changelog format --- .../assets/pw.mmk.OpenFreebuds.metainfo.xml | 19 ++++++++++++------- scripts/bump_version.py | 4 +++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/openfreebuds_qt/assets/pw.mmk.OpenFreebuds.metainfo.xml b/openfreebuds_qt/assets/pw.mmk.OpenFreebuds.metainfo.xml index 7b930c7..c0714a9 100644 --- a/openfreebuds_qt/assets/pw.mmk.OpenFreebuds.metainfo.xml +++ b/openfreebuds_qt/assets/pw.mmk.OpenFreebuds.metainfo.xml @@ -1,16 +1,16 @@ pw.mmk.OpenFreebuds - + OpenFreebuds Companion app for HUAWEI earphones MelianMiko - + MIT GPL-3.0-or-later - + 1024 @@ -18,7 +18,7 @@ pointing keyboard - +

This application allows to control HUAWEI FreeBuds earphone settings from PC. Check exact battery level, toggle noise cancellation, control built-in equalizer, change gestures, and all other in-device settings and features are now available without official mobile application. @@ -47,7 +47,7 @@ - + pw.mmk.OpenFreebuds.desktop Settings @@ -94,11 +94,16 @@ https://github.com/melianmiko/OpenFreebuds/blob/main/CHANGELOG.md#v0.15.1 - This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray. + +

This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray.

+

(Flathub permission fix release)

+
https://github.com/melianmiko/OpenFreebuds/blob/main/CHANGELOG.md#v0.15.0 - This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray. + +

This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray.

+
https://github.com/melianmiko/OpenFreebuds/blob/main/CHANGELOG.md#v0.14.1 diff --git a/scripts/bump_version.py b/scripts/bump_version.py index 887cb8d..8dcc407 100644 --- a/scripts/bump_version.py +++ b/scripts/bump_version.py @@ -122,7 +122,9 @@ def bump_metainfo(line: str): line, f' ', f' {BASE_CHANGELOG_URL}#v{NEW_VERSION}', - f' {" ".join(" ".join(non_nerd_changelog).split(" "))}', + f' ', + f'

{" ".join(" ".join(non_nerd_changelog).split(" "))}

', + f'
', f'
', ]