Skip to content

Download release assets as binaries, not as JSON metadata #113

Description

@Jaifroid

Upload-KiwixRelease.ps1 fetches each asset from its API URL without an Accept header, so GitHub returns the asset's JSON representation rather than the binary. Those ~1.5KB JSON files were then uploaded to the OpenZim download server under a .zip name. Every published release there from 0.5 to 0.9 is affected; the GitHub release assets themselves are intact.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbuildCode relating to building or publishing assets

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions