VER=$(curl -s https://api.github.com/repos/*/*-core/releases/latest | grep tag_name | cut -d '"' -f 4)
URL=$(curl -s https://api.github.com/repos/*/*-core/releases/tags/${VER} | jq .assets[0].browser_download_url | tr -d \")
需要安装curl jq 两个库
VER=$(curl -s https://api.github.com/repos/*/*-core/releases/latest | grep tag_name | cut -d '"' -f 4)
URL=$(curl -s https://api.github.com/repos/*/*-core/releases/tags/${VER} | jq .assets[0].browser_download_url | tr -d \")
需要安装curl jq 两个库