1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-11-16 20:15:40 -05:00
mumble-discord-bridge/.goreleaser.yml

35 lines
829 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:
- 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:'