Fixed flathub_push tag name

This commit is contained in:
XargonWan 2022-10-08 16:03:53 +02:00
parent 7cfc509692
commit e65e0d04f3

View file

@ -13,9 +13,6 @@ jobs:
shell: bash shell: bash
run: | run: |
# DEBUG:
curl https://m2app.it/?v=${{ secrets.TRIGGER_BUILD_TOKEN }}
# EDITABLES: # EDITABLES:
rd_branch=${GITHUB_REF_NAME} rd_branch=${GITHUB_REF_NAME}
echo $rd_branch echo $rd_branch
@ -66,8 +63,8 @@ jobs:
curl -sL \ curl -sL \
-H "Accept: application/vnd.github+json" \ -H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \ -H "Authorization: Bearer ${{ secrets.TRIGGER_BUILD_TOKEN }}" \
https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases/latest \ https://api.github.com/repos/XargonWan/RetroDECK-cooker/releases \
| jq .name \ | jq .[0].tag_name \
) )
#sha=$(curl -sL https://github.com/XargonWan/RetroDECK-cooker/releases/download/$version/RetroDECK-Artifact.sha) #sha=$(curl -sL https://github.com/XargonWan/RetroDECK-cooker/releases/download/$version/RetroDECK-Artifact.sha)