V6.6.6-2 修复链接解析问题

This commit is contained in:
Hyy2001X 2021-10-10 21:41:58 +08:00 committed by GitHub
parent 9fd8f5e663
commit 20ee824f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ function ANALYSIS_API() {
}
RM ${API_File} && touch -a ${API_File}
LOGGER "[ANALYSIS_API] 开始解析 Github API ..."
local i=1;while :;do
local i=0;while :;do
name=$(jsonfilter -i ${API_Dump} -e '@["assets"]' | jsonfilter -e '@['"""$i"""'].name' 2> /dev/null)
[[ ! $? == 0 ]] && break
if [[ ${name} =~ "AutoBuild-${OP_REPO_NAME}-${TARGET_PROFILE}" || ${name} =~ Update_Logs.json ]]
@ -1173,4 +1173,4 @@ Grey="\e[36m"
Green="\e[32m"
[[ -n $* ]] && COMMAND="$0 $*" || COMMAND="$0"
AutoUpdate_Main $*
AutoUpdate_Main $*