Fix Forgejo release asset verification #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/fix-release-asset-download"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Forgejo’s release asset API endpoint returns attachment metadata JSON for GET requests, so the publisher compared that JSON to the local archive and rejected a valid draft. Download each asset from its API-provided browser URL, restricted to the configured Forgejo origin, then keep the existing byte-for-byte verification.
The failed run’s Cyprus asset was confirmed byte-identical to a fresh build. The updated downloader was verified against that draft asset; no release was published or latest pointer moved.