diff --git a/README.md b/README.md index bb93c61b..7c231632 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,11 @@ You can test kube-score out in the browser with the [online demo](https://kube-s ## Installation -Pre-built releases can be downloaded from the [GitHub releases](https://github.com/zegl/kube-score/releases), or from [Docker Hub](https://hub.docker.com/r/zegl/kube-score/). +Pre-built releases can be downloaded from the [GitHub releases](https://github.com/zegl/kube-score/releases), from [Docker Hub](https://hub.docker.com/r/zegl/kube-score/), or with homebrew: + +```bash +brew install kube-score/tap/kube-score +``` ## Checks diff --git a/cmd/kube-score/.goreleaser.yml b/cmd/kube-score/.goreleaser.yml index c94b716c..aa92bc27 100644 --- a/cmd/kube-score/.goreleaser.yml +++ b/cmd/kube-score/.goreleaser.yml @@ -1,3 +1,5 @@ +project_name: kube-score + builds: - env: - CGO_ENABLED=0 @@ -8,16 +10,26 @@ builds: goarch: - amd64 archives: - - id: kube-score - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 + - id: binary + format: binary + + # A release in archive format is needed for the homebrew release + - id: default + checksum: name_template: 'checksums.txt' + snapshot: name_template: "{{ .Tag }}-next" + changelog: sort: asc + +brew: + name: kube-score + github: + owner: kube-score + name: homebrew-tap + folder: Formula + url_template: "https://github.com/zegl/kube-score/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + homepage: "https://kube-score.com/"