Download draft release assets by attachment UUID #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/use-forgejo-attachment-route"
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?
The publisher now downloads draft assets from
/attachments/{uuid}, using the UUID returned by Forgejo’s release asset API. The previous code followedbrowser_download_urlunder/releases/download/..., which returned 404 for the workflow run even though the asset had been uploaded and appeared in the draft. The attachment route uses the configured Forgejo origin and retains the byte-for-byte check.Read-only verification against the current draft Cyprus asset returned 1,784,932 bytes, matching the API-reported size, with a ZIP signature. Python syntax and diff checks pass. The actual automatic Actions token is only confirmed on a subsequent workflow run; no release was published or latest pointer moved.