add script to generate AppStream release info

ticket #1475
This commit is contained in:
tildearrow 2023-09-11 22:44:14 -05:00
parent 6a6d429f68
commit 5a467f0c9b
3 changed files with 190 additions and 1 deletions

164
res/furnace.appdata.xml Normal file
View file

@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.tildearrow.furnace</id>
<name>Furnace</name>
<summary>Open-source chiptune tracker</summary>
<url type="homepage">https://github.com/tildearrow/furnace</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0-or-later</project_license>
<description>
<p>
the biggest chiptune tracker ever made!
</p>
<p>
it allows you to create songs using a music tracker interface for several computer/game console/arcade sound chips.
</p>
<p>
it also offers DefleMask compatibility, allowing you to import your songs and even export them back for interoperability.
</p>
<p>
<b>rationale for intense profanity:</b> the tracker itself is clean, but a few demo songs and instruments contain a small amount of strong language.
</p>
</description>
<content_rating type="oars-1.0">
<content_attribute id="language-profanity">intense</content_attribute>
<content_attribute id="language-humor">mild</content_attribute>
</content_rating>
<launchable type="desktop-id">furnace.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>https://tildearrow.org/storage/images/furnace.png</image>
</screenshot>
</screenshots>
<releases>
<release version="v0.6~pre14" date="2023-09-11" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre14</url>
</release>
<release version="v0.6~pre13" date="2023-09-10" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre13</url>
</release>
<release version="v0.6~pre12" date="2023-09-09" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre12</url>
</release>
<release version="v0.6~pre11" date="2023-09-07" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre11</url>
</release>
<release version="v0.6~pre10" date="2023-09-07" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre10</url>
</release>
<release version="v0.6~pre9" date="2023-08-26" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre9</url>
</release>
<release version="v0.6~pre8" date="2023-08-19" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre8</url>
</release>
<release version="v0.6~pre7" date="2023-07-09" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre7</url>
</release>
<release version="v0.6~pre6" date="2023-07-08" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre6</url>
</release>
<release version="v0.6~pre5" date="2023-05-24" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre5</url>
</release>
<release version="v0.6~pre4-hotfix" date="2023-02-25" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre4-hotfix</url>
</release>
<release version="v0.6~pre4" date="2023-02-24" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre4</url>
</release>
<release version="v0.6~pre3" date="2022-12-31" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre3</url>
</release>
<release version="v0.6~pre2" date="2022-12-24" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre2</url>
</release>
<release version="v0.6~pre1.5" date="2022-09-22" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre1.5</url>
</release>
<release version="v0.6~pre1" date="2022-06-29" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre1</url>
</release>
<release version="v0.6~pre0" date="2022-04-01" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.6pre0</url>
</release>
<release version="v0.5.8" date="2022-02-24" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.8</url>
</release>
<release version="v0.5.7" date="2022-02-22" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.7</url>
</release>
<release version="v0.5.7~pre4" date="2022-02-21" type="development">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.7pre4</url>
</release>
<release version="v0.5.6" date="2022-02-17" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.6</url>
</release>
<release version="v0.5.5" date="2022-02-09" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.5</url>
</release>
<release version="v0.5.4" date="2022-02-05" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.4</url>
</release>
<release version="v0.5.3" date="2022-02-05" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.3</url>
</release>
<release version="v0.5.2" date="2022-02-05" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.2</url>
</release>
<release version="v0.5.1" date="2022-02-01" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5.1</url>
</release>
<release version="v0.5" date="2022-01-30" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.5</url>
</release>
<release version="v0.4.7" date="2022-01-24" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.7</url>
</release>
<release version="v0.4.6" date="2022-01-21" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.6</url>
</release>
<release version="v0.4.5-real" date="2022-01-19" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.5-real</url>
</release>
<release version="v0.4.5" date="2022-01-19" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.5</url>
</release>
<release version="v0.4.4" date="2022-01-19" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.4</url>
</release>
<release version="v0.4.3" date="2022-01-19" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.3</url>
</release>
<release version="v0.4.2" date="2022-01-18" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.2</url>
</release>
<release version="v0.4.1" date="2022-01-17" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4.1</url>
</release>
<release version="v0.4" date="2022-01-16" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.4</url>
</release>
<release version="v0.3.1" date="2022-01-12" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.3.1</url>
</release>
<release version="v0.3" date="2022-01-11" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.3</url>
</release>
<release version="v0.2.2" date="2022-01-06" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.2.2</url>
</release>
<release version="v0.2.1" date="2022-01-01" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.2.1</url>
</release>
<release version="v0.2" date="2021-12-30" type="stable">
<url>https://github.com/tildearrow/furnace/releases/tag/v0.2</url>
</release>
</releases>
</component>

View file

@ -35,4 +35,4 @@
<image>https://tildearrow.org/storage/images/furnace.png</image> <image>https://tildearrow.org/storage/images/furnace.png</image>
</screenshot> </screenshot>
</screenshots> </screenshots>
</component>

25
res/make-appdata.sh Executable file
View file

@ -0,0 +1,25 @@
#!/bin/bash
echo "generating furnace.appdata.xml..."
cat furnace.appdata.xml.in > furnace.appdata.xml
echo " <releases>" >> furnace.appdata.xml
for i in `git log --tags='v*' --no-walk --format="%as/%(describe:tags)"`; do
releaseDate=${i%/*}
releaseVer=${i#*/}
releaseType=stable
if [[ $releaseVer =~ "pre" ]]; then
releaseType=development
fi
echo " <release version=\"${releaseVer/pre/~pre}\" date=\"$releaseDate\" type=\"$releaseType\">" >> furnace.appdata.xml
echo " <url>https://github.com/tildearrow/furnace/releases/tag/$releaseVer</url>" >> furnace.appdata.xml
echo " </release>" >> furnace.appdata.xml
done
echo " </releases>" >> furnace.appdata.xml
echo "</component>" >> furnace.appdata.xml
echo "done."