Skip to content

Commit

Permalink
[Fix] Metainfo changelog format
Browse files Browse the repository at this point in the history
  • Loading branch information
melianmiko committed Nov 23, 2024
1 parent c7dcc86 commit a3ff641
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
19 changes: 12 additions & 7 deletions openfreebuds_qt/assets/pw.mmk.OpenFreebuds.metainfo.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>pw.mmk.OpenFreebuds</id>

<name>OpenFreebuds</name>
<summary>Companion app for HUAWEI earphones</summary>
<developer id="pw.mmk">
<name>MelianMiko</name>
</developer>

<metadata_license>MIT</metadata_license>
<project_license>GPL-3.0-or-later</project_license>

<recommends>
<display_length compare="ge">1024</display_length>
</recommends>
<supports>
<control>pointing</control>
<control>keyboard</control>
</supports>

<description>
<p>
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.
Expand Down Expand Up @@ -47,7 +47,7 @@
</li>
</ul>
</description>

<launchable type="desktop-id">pw.mmk.OpenFreebuds.desktop</launchable>
<categories>
<category>Settings</category>
Expand Down Expand Up @@ -94,11 +94,16 @@
<releases>
<release version="0.15.1" date="2024-11-18">
<url type="details">https://github.com/melianmiko/OpenFreebuds/blob/main/CHANGELOG.md#v0.15.1</url>
<description>This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray.</description>
<description>
<p>This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray.</p>
<p>(Flathub permission fix release)</p>
</description>
</release>
<release version="0.15.0" date="2024-11-17">
<url type="details">https://github.com/melianmiko/OpenFreebuds/blob/main/CHANGELOG.md#v0.15.0</url>
<description>This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray.</description>
<description>
<p>This release introduces compatibility with FeeeBuds 6i and Studio models. Also, since this version OpenFreebuds can be used in desktop environments without system tray.</p>
</description>
</release>
<release version="0.14.1" date="2024-10-02">
<url type="details">https://github.com/melianmiko/OpenFreebuds/blob/main/CHANGELOG.md#v0.14.1</url>
Expand Down
4 changes: 3 additions & 1 deletion scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ def bump_metainfo(line: str):
line,
f' <release version="{NEW_VERSION}" date="{date.today()}">',
f' <url type="details">{BASE_CHANGELOG_URL}#v{NEW_VERSION}</url>',
f' <description>{" ".join(" ".join(non_nerd_changelog).split(" "))}</description>',
f' <description>',
f' <p>{" ".join(" ".join(non_nerd_changelog).split(" "))}</p>',
f' </description>',
f' </release>',
]

Expand Down

0 comments on commit a3ff641

Please sign in to comment.