Skip to content

Commit

Permalink
Merge #125
Browse files Browse the repository at this point in the history
125: Homebrew release r=zegl a=zegl



Co-authored-by: Gustav Westling <[email protected]>
  • Loading branch information
bors[bot] and zegl committed Apr 28, 2019
2 parents 88753a0 + 2d848e2 commit 844c7d5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
26 changes: 19 additions & 7 deletions cmd/kube-score/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
project_name: kube-score

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -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/"

0 comments on commit 844c7d5

Please sign in to comment.