Files
ko-build/.goreleaser.yml
T

46 lines
856 B
YAML
Raw Normal View History

2020-01-24 08:44:56 -08:00
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
2021-01-04 17:03:01 -08:00
- main: ./main.go
2020-01-24 08:44:56 -08:00
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- "-s -w -X github.com/google/ko/pkg/commands.Version={{.Version}}"
2021-04-28 14:58:06 -04:00
goos:
- windows
- linux
- darwin
goarch:
- amd64
- arm64
- s390x
- 386
- mips64le
2021-04-11 01:32:26 +02:00
- ppc64le
2020-01-24 08:44:56 -08:00
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
use: github
2020-01-24 08:44:56 -08:00
filters:
exclude:
- '^docs:'
- '^test:'