mirror of
https://github.com/YunoHost-Apps/minio_ynh.git
synced 2024-09-03 19:46:18 +02:00
Fix auto-updater
This commit is contained in:
parent
4795433de2
commit
14197cc396
1 changed files with 2 additions and 1 deletions
3
.github/workflows/updater.sh
vendored
3
.github/workflows/updater.sh
vendored
|
@ -65,7 +65,7 @@ case $src in
|
||||||
src_filename=minio
|
src_filename=minio
|
||||||
;;
|
;;
|
||||||
"mc_amd64")
|
"mc_amd64")
|
||||||
asset_url="https://dl.min.io/client/mc/release/linux-arm64/archive/mc.$mc_version"
|
asset_url="https://dl.min.io/client/mc/release/linux-amd64/archive/mc.$mc_version"
|
||||||
src_filename=mc
|
src_filename=mc
|
||||||
;;
|
;;
|
||||||
"mc_arm64")
|
"mc_arm64")
|
||||||
|
@ -127,6 +127,7 @@ done
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Replace new version in manifest
|
# Replace new version in manifest
|
||||||
|
version=$(sed -E "s/RELEASE\.([0-9-]+)T.+/\1/g" <<< $version | sed -E "s/-/./g")
|
||||||
echo "$(jq -s --indent 4 ".[] | .version = \"$version~ynh1\"" manifest.json)" > 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
|
# No need to update the README, yunohost-bot takes care of it
|
||||||
|
|
Loading…
Add table
Reference in a new issue