From 493c7a8fd83bf4b88cb5374867054caa1029e3f2 Mon Sep 17 00:00:00 2001 From: Ed Cook Date: Fri, 30 Aug 2019 16:27:10 +0100 Subject: [PATCH] Add homebrew output to goreleaser config - Also update archive to contain README and LICENSE Authored-by: Ed Cook --- .goreleaser.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 3562cfc..ce33067 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,15 @@ builds: - GO111MODULE=on - CGO_ENABLED=0 archives: -- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" - files: - - none* +- id: archive + format: "tar.gz" + name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" +brews: +- github: + owner: pivotal + name: hammer + ids: + - archive + test: | + system "#{bin}/hammer version" changelog: