Fix release asset digest dereference chain #1436

Merged
coilyco-ops merged 1 commit from issue-1430 into main 2026-07-15 12:43:57 +00:00
Member

This fixes the release asset dereference chain used by scripts/forgejo-release-asset.sh. The helper now follows nested browser_download_url metadata until it reaches the raw 64-hex digest, which matches the live Forgejo release asset shape for the Scoop sidecar.

  • Keeps the existing best-effort behavior for missing Scoop token / bucket push failures.
  • Adds a regression test that simulates the extra attachment metadata hop.
  • Verified with go test ./... and a direct live-release helper check.

closes #1430
ward.workflow: pull-request-and-merge

This fixes the release asset dereference chain used by `scripts/forgejo-release-asset.sh`. The helper now follows nested `browser_download_url` metadata until it reaches the raw 64-hex digest, which matches the live Forgejo release asset shape for the Scoop sidecar. - Keeps the existing best-effort behavior for missing Scoop token / bucket push failures. - Adds a regression test that simulates the extra attachment metadata hop. - Verified with `go test ./...` and a direct live-release helper check. closes #1430 ward.workflow: pull-request-and-merge
fix release asset dereference chain
All checks were successful
test / test (pull_request) Successful in 1m20s
0f6ae562e5
closes #1430
Sign in to join this conversation.
No description provided.