39 lines
820 B
YAML
39 lines
820 B
YAML
|
# 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 go modules.
|
||
|
- go mod download
|
||
|
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
|
||
|
filters:
|
||
|
exclude:
|
||
|
- '^docs:'
|
||
|
- '^test:'
|
||
|
builds:
|
||
|
-
|
||
|
id: "api"
|
||
|
main: ./cmd/api/main.go
|
||
|
binary: api
|
||
|
# List of combinations of GOOS + GOARCH + GOARM to ignore.
|
||
|
# Default is empty.
|
||
|
ignore:
|
||
|
- goos: darwin
|
||
|
goarch: 386
|
||
|
- goos: linux
|
||
|
goarch: arm
|
||
|
goarm: 7
|
||
|
- goarm: mips64
|
||
|
gomips: hardfloat
|