kubeconform/.goreleaser.yml
2020-10-18 19:59:25 +02:00

31 lines
No EOL
593 B
YAML

builds:
- main: ./cmd/kubeconform/main.go
env:
- CGO_ENABLED=0
- GOFLAGS = -mod=vendor
- GO111MODULE = on
goos:
- windows
- linux
- darwin
flags:
- -trimpath
- -tags=netgo
- -a
ldflags:
- -extldflags "-static"
archives:
- format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}"
checksum:
name_template: 'CHECKSUMS'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^test:'