2021-12-23 01:52:01 +01:00
|
|
|
# This is an example .goreleaser.yaml file with some sensible defaults.
|
2020-04-27 21:42:44 -03:00
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
before:
|
|
|
|
hooks:
|
|
|
|
# You may remove this if you don't use go modules.
|
2021-03-02 21:29:31 -03:00
|
|
|
- go mod tidy
|
2020-04-27 21:42:44 -03:00
|
|
|
# you may remove this if you don't need go generate
|
|
|
|
- go generate ./...
|
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
archives:
|
|
|
|
- replacements:
|
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
2021-08-21 15:59:15 +02:00
|
|
|
name_template: "{{ incpatch .Version }}-next"
|
2020-04-27 21:42:44 -03:00
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|