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-04-24 18:32:54 -04:00
|
|
|
- main: ./cmd/mumble-discord-bridge
|
|
|
|
ldflags: '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
|
2021-02-01 17:43:43 -05:00
|
|
|
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:'
|