Fixed flathub_push workflow -fix4

This commit is contained in:
XargonWan 2022-10-08 15:41:17 +02:00
parent 5af8980e31
commit 814ba439f1

View file

@ -66,9 +66,10 @@ jobs:
| jq .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)
#echo $sha
echo $version
sha="$(cat 'RetroDECK-Artifact.sha')"
sed -i 's#"url: https://github.com/XargonWan/RetroDECK-cooker/releases/download/__VERSION__/RetroDECK-Artifact.tar.gz"#"url: https://github.com/XargonWan/RetroDECK-cooker/releases/download/$version/RetroDECK-Artifact.tar.gz"#g' net.retrodeck.retrodeck.yml
sed -i 's#"sha256: __SHA__"#"sha256: $sha"#g' net.retrodeck.retrodeck.yml