From 7dd321e13ef23ece1c305fc6e0c31a7d730c346b Mon Sep 17 00:00:00 2001 From: ewilly Date: Tue, 27 Aug 2024 17:38:53 +0200 Subject: [PATCH] Update updater_ffmpeg-static.sh --- .github/workflows/updater_ffmpeg-static.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/updater_ffmpeg-static.sh b/.github/workflows/updater_ffmpeg-static.sh index a978ee6..3f86e1e 100644 --- a/.github/workflows/updater_ffmpeg-static.sh +++ b/.github/workflows/updater_ffmpeg-static.sh @@ -8,15 +8,15 @@ version_current=$(cat manifest.toml | tomlq -j '.version') version_app=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[0]') version_ynh=$(cat manifest.toml | tomlq -j '.version|split("~ynh")[1]') -version_next="$version_app~ynh($version_ynh+1)" +version_next="$version_app~ynh$(($version_ynh+1))" repo=$(cat manifest.toml | tomlq -j '.upstream.code|split("https://github.com/")[1]') -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_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) -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_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) # Setting up the environment variables