Skip to content

Commit

Permalink
Modify release job and correct metainfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Milkfat32 committed Jun 27, 2024
1 parent 75aa10d commit d5da53a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
with:
toolchain: stable

- name: Install Appstreamcli
run: sudo apt-get update && sudo apt-get install -y appstream

- name: Bump Version
id: version_bump
run: |
Expand All @@ -51,6 +54,9 @@ jobs:
cd ./src-tauri
cargo generate-lockfile
echo "new_tag=v${NEW_VERSION}" >> $GITHUB_OUTPUT
echo -e "---\nVersion: $NEW_VERSION\nDate: $(date +'%Y-%m-%d')\n---" > metadata/news.yaml
appstreamcli news-to-metainfo metadata/news.yaml metadata/dev.opengoal.OpenGOAL.appdata.xml
rm metadata/news.yaml
- name: Commit Version Bump
uses: EndBug/add-and-commit@v9
Expand Down
41 changes: 18 additions & 23 deletions metadata/dev.opengoal.OpenGOAL.appdata.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<id>dev.opengoal.OpenGOAL</id>

<name>OpenGOAL</name>
<summary>Launcher for the OpenGOAL Project to simplify usage and installation</summary>
<developer_name>OpenGOAL Contributors</developer_name>

<metadata_license>CC0-1.0</metadata_license>
<project_license>ISC License</project_license>

<url type="homepage">https://opengoal.dev/</url>
<url type="vcs-browser">https://github.com/open-goal/launcher</url>
<url type="translate">https://crowdin.com/project/opengoal-launcher</url>
<url type="faq">https://opengoal.dev/docs/faq</url>
<url type="contribute">https://opengoal.dev/docs/category/contributing</url>
<url type="contact">https://discord.gg/VZbXMHXzWv</url>

<developer_name>OpenGOAL Contributors</developer_name>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>gamepad</control>
</supports>

<screenshot>
<image>https://opengoal.dev/assets/images/launcher-install-a-33691bfe513b67a2b35bf13ab298a39e.png</image>
<caption>Play the Jak and Daxter PlayStation 2 classics natively on your computer.</caption>
</screenshot>
<screenshot>
<image>https://opengoal.dev/assets/images/launcher-support-package-6e7fb3e810098907fb6bc7a83b6f91dc.png</image>
<caption>If at any point during the installation something goes wrong and you are going to ask for help or report an issue. Download the Support Package in order to easily give the person helping you everything they could ask for all at once.</caption>
</screenshot>

<launchable type="desktop-id">dev.opengoal.OpenGOAL.desktop</launchable>

<url type="homepage">https://opengoal.dev/</url>
<url type="vcs-browser">https://github.com/open-goal/launcher</url>
<url type="translate">https://crowdin.com/project/opengoal-launcher</url>
<url type="faq">https://opengoal.dev/docs/faq</url>
<url type="contribute">https://opengoal.dev/docs/category/contributing</url>
<url type="contact">https://discord.gg/VZbXMHXzWv</url>
<screenshots>
<screenshot>
<image type="source">https://opengoal.dev/assets/images/launcher-install-a-33691bfe513b67a2b35bf13ab298a39e.png</image>
<caption>Play the Jak and Daxter PlayStation 2 classics natively on your computer.</caption>
</screenshot>
<screenshot>
<image type="source">https://opengoal.dev/assets/images/launcher-support-package-6e7fb3e810098907fb6bc7a83b6f91dc.png</image>
<caption>If at any point during the installation something goes wrong and you are going to ask for help or report an issue. Download the Support Package in order to easily give the person helping you everything they could ask for all at once.</caption>
</screenshot>
</screenshots>
<releases>
<release version="2.4.6" date="2024-06-1"/>
</releases>
Expand Down

0 comments on commit d5da53a

Please sign in to comment.