Skip to content

Commit

Permalink
fix: added homebrew publish (#3)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Meier <[email protected]>
  • Loading branch information
astromechza authored May 13, 2024
1 parent 034f60d commit 40693c2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,13 @@ changelog:
exclude:
- '^docs:'
- '^test:'
brews:
- name: score-k8s
homepage: "https://score.dev"
tap:
owner: score-spec
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
commit_author:
name: rachfop
email: [email protected]
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,31 @@ For details of how the standard "template" provisioner works, see the `template:

## Usage

### Installation

Either, install through Homebrew for macOS and supported Linux distributions:

```
$ brew install score-spec/tap/score-k8s
# to upgrade an existing installation, tr
$ brew upgrade score-k8s
```

Or, download the binaries for your platform from the [latest Github releases](https://github.com/score-spec/score-k8s/releases):

```
$ wget https://github.com/score-spec/score-k8s/releases/download/<x.y.z>/score-k8s_<x.y.z>_<os_system>.tar.gz
```

Or, install the Go module directly (Go > 1.22):

```
$ go install -v github.com/score-spec/score-k8s@latest
```

Alternative installation guides and implementations can be found in the [Score docs](https://docs.score.dev/docs/score-implementation/).

### Init

```
Expand Down

0 comments on commit 40693c2

Please sign in to comment.