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

@@ -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