We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2fcb2 commit 29d3015Copy full SHA for 29d3015
misc/tools.func
@@ -854,9 +854,9 @@ function fetch_and_deploy_gh_release() {
854
assets=$(echo "$json" | jq -r '.assets[].browser_download_url')
855
856
# If explicit filename pattern is provided (param $6), match that first
857
- if [[ -n "$6" ]]; then
+ if [[ -n "$asset_pattern" ]]; then
858
for u in $assets; do
859
- [[ "$u" =~ $6 || "$u" == *"$6" ]] && url_match="$u" && break
+ [[ "$u" =~ $asset_pattern || "$u" == *"$asset_pattern" ]] && url_match="$u" && break
860
done
861
fi
862
0 commit comments