From 51a0bb1100ec2da380373036a062aae4c10e755b Mon Sep 17 00:00:00 2001 From: Milkfat32 Date: Fri, 28 Jun 2024 07:52:40 +0200 Subject: [PATCH] Modify release job and correct metainfo (#509) Add updating the release in the metainfo file using appstreamcli --------- Co-authored-by: Milkfat32 --- .github/workflows/release.yaml | 6 ++++ metadata/dev.opengoal.OpenGOAL.appdata.xml | 41 ++++++++++------------ 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1a8cfc1..9491b2f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: | @@ -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 diff --git a/metadata/dev.opengoal.OpenGOAL.appdata.xml b/metadata/dev.opengoal.OpenGOAL.appdata.xml index 84fd1f7..6a7534c 100644 --- a/metadata/dev.opengoal.OpenGOAL.appdata.xml +++ b/metadata/dev.opengoal.OpenGOAL.appdata.xml @@ -1,38 +1,33 @@ - + dev.opengoal.OpenGOAL - OpenGOAL Launcher for the OpenGOAL Project to simplify usage and installation - OpenGOAL Contributors - CC0-1.0 ISC License - + OpenGOAL Contributors + + pointing + keyboard + gamepad + + dev.opengoal.OpenGOAL.desktop https://opengoal.dev/ https://github.com/open-goal/launcher https://crowdin.com/project/opengoal-launcher https://opengoal.dev/docs/faq https://opengoal.dev/docs/category/contributing https://discord.gg/VZbXMHXzWv - - - pointing - keyboard - gamepad - - - - https://opengoal.dev/assets/images/launcher-install-a-33691bfe513b67a2b35bf13ab298a39e.png - Play the Jak and Daxter PlayStation 2 classics natively on your computer. - - - https://opengoal.dev/assets/images/launcher-support-package-6e7fb3e810098907fb6bc7a83b6f91dc.png - 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. - - - dev.opengoal.OpenGOAL.desktop - + + + https://opengoal.dev/assets/images/launcher-install-a-33691bfe513b67a2b35bf13ab298a39e.png + Play the Jak and Daxter PlayStation 2 classics natively on your computer. + + + https://opengoal.dev/assets/images/launcher-support-package-6e7fb3e810098907fb6bc7a83b6f91dc.png + 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. + +