-
fix(ci): follow HTTP redirect and validate JSON in fetch-releases step
Some checks failedCI / Backend (push) Successful in 26sRelease / Test backend (push) Successful in 42sRelease / Check ui (push) Successful in 28sCI / UI (push) Successful in 1m4sCI / UI (pull_request) Failing after 11sCI / Backend (pull_request) Successful in 27sRelease / Docker / caddy (push) Successful in 1m3sRelease / Docker / runner (push) Failing after 1m3sRelease / Docker / ui (push) Successful in 1m53sRelease / Docker / backend (push) Failing after 4m2sRelease / Gitea Release (push) Has been skippedreleased this
2026-03-28 22:38:09 +05:00 curl -sf without -L silently wrote '301 Moved Permanently' to releases.json
instead of following the http→https redirect. Added -L to follow redirects,
set -euo pipefail, and jq type validation so the step fails hard on bad JSON.Downloads