update fetch_and_deploy function

This commit is contained in:
CanbiZ 2025-05-27 15:54:03 +02:00
parent e9da20f40e
commit ecc96cb327

View File

@ -650,7 +650,8 @@ install_mongodb() {
fetch_and_deploy_gh_release() {
local repo="$1"
local app=${APP:-$(echo "${APPLICATION,,}" | tr -d ' ')}
local raw_app="${APP:-$APPLICATION}"
local app=$(echo "${raw_app,,}" | tr -d ' ')
local api_url="https://api.github.com/repos/$repo/releases/latest"
local header=()
local attempt=0