jwhited-wgsd/.goreleaser.yml

44 lines
962 B
YAML
Raw Permalink Normal View History

2020-11-24 14:31:08 -08:00
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
2020-11-24 14:31:08 -08:00
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