From 4cce598451846352b8d6a224dc6d8a8ac3c564bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20N=C3=A4gele?= Date: Sun, 22 Mar 2020 18:45:52 +0100 Subject: [PATCH] Add Homebrew formula (#61) Signed-off-by: Reinhard Naegele --- .goreleaser.yml | 12 ++++++++++++ README.md | 7 +++++++ 2 files changed, 19 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4b4270ed..361a191a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -44,3 +44,15 @@ dockers: - --label=org.label-schema.build-date={{ .Date }} - --label=org.label-schema.description='cr - The chart release tool' - --label=org.label-schema.vendor=Helm +brews: + - github: + owner: helm + name: homebrew-tap + commit_author: + name: helm-bot + email: helm-bot@users.noreply.github.com + folder: Formula + homepage: https://github.com/helm/chart-releaser/ + description: Hosting Helm Charts via GitHub Pages and Releases + test: | + system "#{bin}/cr --version" diff --git a/README.md b/README.md index 09ce066e..133760ca 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,13 @@ Download your preferred asset from the [releases page](https://github.com/helm/chart-releaser/releases) and install manually. +### Homebrew + +```console +$ brew tap helm/tap +$ brew install chart-releaser +``` + ### Go get (for contributing) ```console