yammerbot/.goreleaser.yml

34 lines
832 B
YAML
Raw Normal View History

2021-01-09 18:18:31 -05:00
# This is an example .goreleaser.yml 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 go modules.
- go mod download
# you may remove this if you don't need go generate
# - go generate ./...
builds:
2021-02-01 17:43:43 -05:00
- ldflags: '-s -w -linkmode external -extldflags "-static" -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
env:
2021-01-09 18:18:31 -05:00
- CGO_ENABLED=1
2021-02-01 17:43:43 -05:00
flags:
- -tags=netgo
2021-01-09 18:18:31 -05:00
goos:
- linux
# - windows
# - darwin
goarch:
- amd64
archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^chore:'