• fix(ci): follow HTTP redirect and validate JSON in fetch-releases step
    Some checks failed
    CI / Backend (push) Successful in 26s
    Release / Test backend (push) Successful in 42s
    Release / Check ui (push) Successful in 28s
    CI / UI (push) Successful in 1m4s
    CI / UI (pull_request) Failing after 11s
    CI / Backend (pull_request) Successful in 27s
    Release / Docker / caddy (push) Successful in 1m3s
    Release / Docker / runner (push) Failing after 1m3s
    Release / Docker / ui (push) Successful in 1m53s
    Release / Docker / backend (push) Failing after 4m2s
    Release / Gitea Release (push) Has been skipped

    kamil released 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