go install github.com/my-rv/hensu/cmd/hensu@latestLocal build with injected version:
go build -ldflags "-X github.com/my-rv/hensu.Version=0.1.0" -o hensu ./cmd/hensu
hensu --versionbrew install --cask MY-RV/tap/hensuHomebrew distributes pre-compiled binaries as a cask, and casks are macOS-only. On Linux: go install, the release binary, or Scoop does not apply.
scoop bucket add my-rv https://github.com/MY-RV/scoop-bucket
scoop install hensuTap and bucket are updated by GoReleaser on every release; available since v0.1.0.
- Open Releases and download the asset for your OS/arch:
- archive:
hensu_<ver>_darwin_arm64.tar.gz(or.zipon Windows), or - bare binary:
hensu_<ver>_darwin_arm64(same naming asscripts/release-local.sh) - checksums in the release
- archive:
- Extract if needed,
chmod +x hensu, move to$PATH. - Verify:
hensu --version. - Verify checksums:
sha256sum -c checksums.txt --ignore-missing - Update later:
hensu --update/hensu --update-check
(requires public Releases; override:HENSU_RELEASES_API).--updatecompares SHA-256 against the releasechecksums.txtbefore replacing the binary.
./scripts/release-local.sh
# or, with godo on PATH:
godo release-localGenerates dist/ + SHA256SUMS + bare binaries with ldflags. Does not upload to GitHub.