fix: keep pinned offline release cache stable

This commit is contained in:
Haitao Pan 2026-06-15 14:35:40 +08:00
parent 23e091ee61
commit 7d377e1e75

View File

@ -288,7 +288,7 @@ resolve_offline_source_url() {
local location
case "$source" in
http://*|https://*)
https://github.com/*/releases/latest/download/*)
location="$(
curl -sSI --connect-timeout 15 --max-time 30 "$source" 2>/dev/null |
tr -d '\r' |