This commit is contained in:
CanbiZ 2025-06-16 16:08:01 +02:00
parent fb95e8b88c
commit 2b58a57b3d
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,9 @@ msg_info "Installing Dependencies"
#$STD apt-get install -y gnup
msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv
fetch_and_deploy_gh_release "argus" "release-argus/Argus" "prebuild" "latest" "/opt/argus" "Argus-.*\.linux-amd64"
#PYTHON_VERSION="3.12" setup_uv
#echo -e "fetching healthchecks"
#fetch_and_deploy_gh_release "healthchecks" "healthchecks/healthchecks" "tarball" "latest" "/opt/healthchecks"

View File

@ -854,7 +854,7 @@ function fetch_and_deploy_gh_release() {
local assets asset_url=""
assets=$(echo "$json" | jq -r '.assets[].browser_download_url')
for u in $assets; do
if [[ "$u" =~ $pattern || "$u" == *"$pattern" ]]; then
if [[ "$u" == *"$pattern"* ]]; then
asset_url="$u"
break
fi