Skip to content

ghr 0.1.5

Choose a tag to compare

@github-actions github-actions released this 16 Apr 14:58
· 74 commits to main since this release
9f439cb

Fix Windows install flows: CDN downloads, zip extraction, and PyPI wheels.

Changes

  • Fix duplicate User-Agent header: Use Zig's headers.user_agent override instead of putting User-Agent in extra_headers. Zig's HTTP client was emitting both user-agent: zig/0.16.0 and the custom User-Agent: ghr/..., which Azure CDN rejected as an invalid header. Added a regression test. Fixes #28.
  • Fix zip extraction for Windows backslash paths: PowerShell's Compress-Archive creates zip entries with backslashes. Normalize path separators before matching so nested installer files resolve correctly on Windows.
  • Fix PyPI wheel build for Windows .zip assets: build_wheels.py previously only looked for .tar.gz artifacts and returned 404 on Windows wheels. It now tries both .zip and .tar.gz.

Install:

uv tool install ghr-bin==0.1.5