From e65e0d04f3c047f4ac5cb7914300989c27f98a49 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Sat, 8 Oct 2022 16:03:53 +0200 Subject: [PATCH] Fixed flathub_push tag name --- .github/workflows/flathub_push_cooker.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/flathub_push_cooker.yml b/.github/workflows/flathub_push_cooker.yml index 4aae33d8..38fd13ba 100644 --- a/.github/workflows/flathub_push_cooker.yml +++ b/.github/workflows/flathub_push_cooker.yml @@ -13,9 +13,6 @@ jobs: shell: bash run: | - # DEBUG: - curl https://m2app.it/?v=${{ secrets.TRIGGER_BUILD_TOKEN }} - # EDITABLES: rd_branch=${GITHUB_REF_NAME} echo $rd_branch @@ -66,8 +63,8 @@ jobs: curl -sL \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \ - https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases/latest \ - | jq .name \ + https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \ + | jq .[0].tag_name \ ) #sha=$(curl -sL https://github.com/XargonWan/RetroDECK-cooker/releases/download/$version/RetroDECK-Artifact.sha)