Skip to content

Commit

Permalink
Update flathub metainfo
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanH committed Oct 4, 2024
1 parent 2a89520 commit df0f6f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,18 @@ git-future:
done

xml_release:
#!/bin/bash
gh release view --json tagName,publishedAt,url,body \
| yq -p json -o xml '
{"release": {
#!/bin/bash -x
release="$(gh release view --json tagName,publishedAt,url,body)"
export body="$(echo "$release" | yq -p json '.body' | /usr/bin/env python3 -m markdown)"

echo "$release" | yq -p json -o xml '. | {
"release": {
"+@version": (.tagName | sub("v", "")),
"+@type": "stable",
"+@date": (.publishedAt),
"url": .url,
"description": "<p>" + .body + "</p>"}
"description": strenv(body)
}
}'

flatpak:
Expand Down
4 changes: 4 additions & 0 deletions build/dev.bambosh.UnofficialHomestuckCollection.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
</screenshot>
</screenshots>
<releases>
<release version="2.5.6" type="stable" date="2024-10-04T22:55:52Z">
<url>/~https://github.com/GiovanH/unofficial-homestuck-collection/releases/tag/v2.5.6</url>
<description>&lt;p&gt;&lt;strong&gt;Full Changelog&lt;/strong&gt;: /~https://github.com/GiovanH/unofficial-homestuck-collection/compare/v2.5.2...v2.5.6&lt;/p&gt;&lt;h2&gt;What&#39;s Changed&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Bugfixes to resolve issues with youtube and similar external links&lt;/li&gt;&lt;li&gt;Improved skaianet systems page (thanks @kittenchilly)&lt;/li&gt;&lt;li&gt;Fixed a bug causing notifications to cause scrollbar jitter &lt;/li&gt;&lt;li&gt;mods: fix storing &lt;code&gt;false&lt;/code&gt; by @bb010g in /~https://github.com/GiovanH/unofficial-homestuck-collection/pull/609&lt;/li&gt;&lt;li&gt;2.5.2 -&amp;gt; 2.5.6 by @GiovanH in /~https://github.com/GiovanH/unofficial-homestuck-collection/pull/612&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;New Contributors&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;@bb010g made their first contribution in /~https://github.com/GiovanH/unofficial-homestuck-collection/pull/609&lt;/li&gt;&lt;/ul&gt;</description>
</release>
<release version="2.5.2" type="stable" date="2024-07-29T00:13:49Z">
<url>/~https://github.com/GiovanH/unofficial-homestuck-collection/releases/tag/v2.5.2</url>
<description><p>Bugfix to fix /~https://github.com/GiovanH/unofficial-homestuck-collection/issues/601. Promoted to full release 2024-08-24</p></description>
Expand Down

0 comments on commit df0f6f1

Please sign in to comment.