From 42c0a109797681af5ea6b20e37b772195e6f0f90 Mon Sep 17 00:00:00 2001 From: Genevieve Luyt <11131143+genevieveluyt@users.noreply.github.com> Date: Mon, 13 Jul 2020 10:43:05 -0700 Subject: [PATCH] Fix goreleaser config (#280) --- .goreleaser.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 35054419..cb23877a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,8 +5,8 @@ release: name: kubeaudit draft: true name_template: "{{.ProjectName}}-v{{.Version}}" -brew: - github: +brews: +- github: owner: Shopify name: homebrew-shopify install: bin.install "kubeaudit" @@ -19,23 +19,20 @@ builds: goarm: - 6 - 7 - main: . + main: ./cmd/main.go binary: kubeaudit ldflags: - -s -w -X github.com/Shopify/kubeaudit/cmd.Version={{.Version}} -X github.com/Shopify/kubeaudit/cmd.Commit={{.Commit}} -X github.com/Shopify/kubeaudit/cmd.BuildDate={{.Date}} -archive: - format: tar.gz +archives: +- format: tar.gz name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{.Arm }}{{ end }}' files: - licence* - LICENCE* - - license* - - LICENSE* - readme* - README* - changelog* - CHANGELOG* - - config/* snapshot: name_template: SNAPSHOT-{{ .Commit }} checksum: