1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-11-26 14:45:42 -05:00
mumble-discord-bridge/.goreleaser.yml
2021-02-01 17:43:43 -05:00

34 lines
832 B
YAML

# 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:
- ldflags: '-s -w -linkmode external -extldflags "-static" -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser'
env:
- CGO_ENABLED=1
flags:
- -tags=netgo
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:'