Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Fix goreleaser config (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
genevieveluyt authored Jul 13, 2020
1 parent c20a675 commit 42c0a10
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit 42c0a10

Please sign in to comment.