-
Notifications
You must be signed in to change notification settings - Fork 74
/
.goreleaser.yml
43 lines (40 loc) · 962 Bytes
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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