2018-10-14 03:30:50 +02:00
|
|
|
# This is an example goreleaser.yaml file with some sane defaults.
|
|
|
|
# Make sure to check the documentation at http://goreleaser.com
|
|
|
|
before:
|
2018-10-17 19:20:59 +02:00
|
|
|
hooks:
|
|
|
|
- make
|
|
|
|
|
2018-10-14 03:30:50 +02:00
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
2018-10-17 19:20:59 +02:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
- darwin
|
|
|
|
- windows
|
|
|
|
goarch:
|
|
|
|
- 386
|
|
|
|
- amd64
|
|
|
|
- arm
|
|
|
|
- arm64
|
|
|
|
|
2018-10-14 03:30:50 +02:00
|
|
|
archive:
|
2018-10-17 19:20:59 +02:00
|
|
|
name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
|
2018-10-14 03:30:50 +02:00
|
|
|
replacements:
|
2018-10-25 21:03:04 +02:00
|
|
|
darwin: darwin
|
2018-10-17 19:26:47 +02:00
|
|
|
linux: linux
|
|
|
|
windows: windows
|
2018-10-14 03:30:50 +02:00
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
2018-10-17 19:20:59 +02:00
|
|
|
|
|
|
|
# Can be used to change the archive formats for specific GOOSs.
|
|
|
|
# Most common use case is to archive as zip on Windows.
|
|
|
|
# Default is empty.
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
|
2018-10-14 03:30:50 +02:00
|
|
|
checksum:
|
2018-10-17 19:20:59 +02:00
|
|
|
name_template: '{{ .ProjectName }}_checksums.txt'
|
|
|
|
|
2018-10-14 03:30:50 +02:00
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Tag }}-next"
|
2018-10-17 19:20:59 +02:00
|
|
|
|
2018-10-14 03:30:50 +02:00
|
|
|
changelog:
|
|
|
|
sort: asc
|
|
|
|
filters:
|
|
|
|
exclude:
|
|
|
|
- '^docs:'
|
|
|
|
- '^test:'
|