diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1b8fc06..f2e8beb 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -43,7 +43,7 @@ checksum: brews: - name: hckctl - tap: + repository: owner: hckops name: homebrew-tap commit_author: diff --git a/README.md b/README.md index 1a98506..cbaac43 100644 --- a/README.md +++ b/README.md @@ -255,20 +255,16 @@ Follow the official [instructions](https://podman.io/docs/installation) to insta ## Setup -Download the latest binaries +### Linux + ```bash # latest release HCKCTL_VERSION=$(curl -sS https://api.github.com/repos/hckops/hckctl/releases/latest | jq -r .name | sed 's/v//') -# install or update (linux) +# install or update curl -sSL https://github.com/hckops/hckctl/releases/latest/download/hckctl-${HCKCTL_VERSION}-linux-x86_64.tar.gz | \ sudo tar -xzf - -C /usr/local/bin -# install (macos) -brew install hckops/tap/hckctl -# update -brew upgrade hckctl - # verify hckctl version @@ -276,6 +272,18 @@ hckctl version sudo rm /usr/local/bin/hckctl ``` +### MacOS + +* [Homebrew](https://brew.sh) + +```bash +# install +brew install hckops/tap/hckctl + +# update +brew upgrade hckctl +``` + ## Development * [just](https://github.com/casey/just) @@ -321,121 +329,108 @@ Credit should go to all the authors and maintainers for their open source tools,