1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/immich_ynh.git synced 2024-09-03 20:36:24 +02:00

Update updater_ffmpeg-static.sh
Some checks failed
YunoHost apps package linter / test (push) Has been cancelled
Create master promotion pull request / masterPromotion (push) Has been cancelled

This commit is contained in:
ewilly 2024-08-29 13:17:26 +02:00 committed by GitHub
parent 8f6396cf13
commit 6e4e0fc96b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,11 +15,11 @@ repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")
amd64_url=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".amd64.url')
amd64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".amd64.sha256')
amd64_sha_last=$(curl --silent "$amd64_url" | sha256sum)
amd64_sha_last=$(curl --silent "$amd64_url" | sha256sum - | cut -d " " -f1)
arm64_url=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".arm64.url')
arm64_sha_current=$(cat manifest.toml | tomlq -j '.resources.sources."ffmpeg-static".arm64.sha256')
arm64_sha_last=$(curl --silent "$arm64_url" | sha256sum)
arm64_sha_last=$(curl --silent "$arm64_url" | sha256sum - | cut -d " " -f1)
# For the time being, let's assume the script will fail
echo "PROCEED=false" >> $GITHUB_ENV
@ -38,9 +38,9 @@ fi
# Print some infos
echo "Current version: $version_current"
echo "Current ffmpeg-static amd64 sha : $amd64_sha_current"
echo "LAst ffmpeg-static amd64 sha : $amd64_sha_last"
echo "Last ffmpeg-static amd64 sha : $amd64_sha_last"
echo "Current ffmpeg-static arm64 sha : $arm64_sha_current"
echo "LAst ffmpeg-static arm64 sha : $arm64_sha_last"
echo "Last ffmpeg-static arm64 sha : $arm64_sha_last"
# echo "Latest version: $version_next"
# Setting up the environment variables