diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml index 13174866..2f72ca15 100644 --- a/.github/workflows/cooker-selfhosted.yml +++ b/.github/workflows/cooker-selfhosted.yml @@ -44,7 +44,7 @@ jobs: org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08 echo ${GITHUB_WORKSPACE} #DEBUG df -h ${GITHUB_WORKSPACE} #DEBUG - bash ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives + /bin/bash ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives - name: Build flatpak run: | diff --git a/automation_tools/update_sha.sh b/automation_tools/update_sha.sh index 9a0ce245..c8d9569b 100644 --- a/automation_tools/update_sha.sh +++ b/automation_tools/update_sha.sh @@ -15,8 +15,10 @@ echo while IFS="^" read -r url placeholder do + echo echo "Placeholder text: $placeholder" echo "URL to hash: $url" + echo hash=$(curl -sL "$url" | sha256sum | cut -d ' ' -f1) sed -i 's^'"$placeholder"'^'"$hash"'^' $rd_manifest done < <(cat "$sha_update_list") \ No newline at end of file