Rework manifest update to avoid relying on sponge
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
ff501e4484
commit
ecc2d84031
1 changed files with 1 additions and 4 deletions
5
.github/workflows/updater.sh
vendored
5
.github/workflows/updater.sh
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue