Skip to content

ghr 0.2.0

Choose a tag to compare

@github-actions github-actions released this 10 May 22:40
· 41 commits to main since this release
a3cff4d

A toolkit for GitHub releases.

New

  • ghr download subcommand for cross-platform HTTPS downloads (#56)
  • owner/repo/file[@tag] syntax to pick a specific asset by name in install / download (#59)
  • ghr path ensure (and ghr path bin|tools|cache) to manage ghr's directories and add the bin dir to your user PATH, with nushell support (#43, #44, #45, #60)
  • version and help as top-level subcommands (replaces the --version flag) (#48, #63)
  • Rebranded as a toolkit for GitHub releases; docs split into doc/README.md (#60, #62, #64)

Verification

  • SHA256 + Sigstore verification of release assets (#57)
  • minisign verification with fail-closed sidecar detection and a pre-flight check (#66, #67)
  • minisign verification example added to the README (#68)

Asset selection / install fixes

  • Stop matching win inside darwin on Windows (#42)
  • Reject foreign-arch assets to avoid wrong-arch installs (#55, #58)
  • Smarter heuristics for multi-asset releases (#54)
  • Support bare executables — .exe and extensionless binaries (#49)
  • Handle self-replacement on Windows (#51)

Full changelog: v0.1.6...v0.2.0

Install

pipx install ghr-bin==0.2.0
uv tool install ghr-bin==0.2.0
winget install ghr -v 0.2.0

See doc/README.md for download, install, directories, uninstall, and verification details.