File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ get_prebuilts() {
9191 local resp asset name
9292 resp=$( gh_req " $rv_rel " -) || return 1
9393 tag_name=$( jq -r ' .tag_name' <<< " $resp" )
94- matches=$( jq -e ' .assets | map(select(.name | endswith("asc") | not))' <<< " $resp" )
94+ matches=$( jq -e ' .assets | map(select(.name | ( endswith("asc") or endswith("json") ) | not))' <<< " $resp" )
9595 if [ " $( jq ' length' <<< " $matches" ) " -gt 1 ]; then
9696 local matches_new
9797 matches_new=$( jq -e -r ' map(select(.name | contains("-dev") | not))' <<< " $matches" )
@@ -578,7 +578,8 @@ build_rv() {
578578 if [ " $version_mode " = auto ]; then
579579 if ! version=$( get_patch_last_supported_ver " $list_patches " " $pkg_name " \
580580 " ${args[included_patches]} " " ${args[excluded_patches]} " " ${args[exclusive_patches]} " ) ; then
581- exit 1
581+ epr " get_patch_last_supported_ver failed '$list_patches '"
582+ return
582583 elif [ -z " $version " ]; then get_latest_ver=true; fi
583584 elif isoneof " $version_mode " latest beta; then
584585 get_latest_ver=true
You can’t perform that action at this time.
0 commit comments