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
Owner

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
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/ward!1436
No description provided.