1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-12-28 01:15:38 -05:00

static build use netgo

This commit is contained in:
Tyler Stiene 2021-02-01 17:43:43 -05:00
parent 7b20d39dcc
commit 7094f71f43

View File

@ -7,8 +7,11 @@ before:
# you may remove this if you don't need go generate
# - go generate ./...
builds:
- env:
- 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