jwhited-wgsd/.goreleaser.yml
Jordan Whited 42d88f8049 goreleaser tweaks
Signed-off-by: Jordan Whited <jordan@jordanwhited.com>
2022-12-18 15:29:44 -08:00

44 lines
962 B
YAML

before:
hooks:
- go mod download
builds:
- id: coredns
main: ./cmd/coredns/main.go
binary: coredns
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- 386
- arm
- arm64
- id: wgsd-client
main: ./cmd/wgsd-client/main.go
binary: wgsd-client
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- 386
- arm
- arm64
archives:
- id: coredns
format: tar.gz
name_template: wgsd-coredns_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
builds:
- coredns
- id: wgsd-client
format: tar.gz
name_template: wgsd-client_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
builds:
- wgsd-client