From ecc2d84031c38545560683afc27067f9325a145e Mon Sep 17 00:00:00 2001 From: tituspijean Date: Thu, 16 Sep 2021 09:40:02 +0200 Subject: [PATCH] Rework manifest update to avoid relying on sponge Co-authored-by: Kayou --- .github/workflows/updater.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 891be20..c901b7e 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -119,11 +119,8 @@ done # GENERIC FINALIZATION #================================================= -# Install moreutils, needed for sponge -sudo apt-get install moreutils - # Replace new version in manifest -jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json | sponge manifest.json +echo "$(jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json)" > manifest.json # No need to update the README, yunohost-bot takes care of it