mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Fix Admin download in updater
This commit is contained in:
parent
1f484e2149
commit
eef5a583ff
1 changed files with 1 additions and 1 deletions
2
.github/workflows/updater.sh
vendored
2
.github/workflows/updater.sh
vendored
|
@ -21,7 +21,7 @@ version=$(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '.
|
||||||
assets=($(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '[ .[] | select(.tag_name=="'$version'").assets[].browser_download_url ] | join(" ") | @sh' | tr -d "'"))
|
assets=($(curl --silent "https://api.github.com/repos/$repo/releases" | jq -r '[ .[] | select(.tag_name=="'$version'").assets[].browser_download_url ] | join(" ") | @sh' | tr -d "'"))
|
||||||
|
|
||||||
admin_repo="TryGhost/Admin"
|
admin_repo="TryGhost/Admin"
|
||||||
assets+=("https://api.github.com/repos/TryGhost/Admin/zipball/$version")
|
assets+=("https://github.com/TryGhost/Admin/archive/refs/tags/${version}.zip")
|
||||||
|
|
||||||
# Later down the script, we assume the version has only digits and dots
|
# Later down the script, we assume the version has only digits and dots
|
||||||
# Sometimes the release name starts with a "v", so let's filter it out.
|
# Sometimes the release name starts with a "v", so let's filter it out.
|
||||||
|
|
Loading…
Add table
Reference in a new issue