-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yml
58 lines (58 loc) · 1.16 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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:
- id: apiserver
main: ./cmd/apiserver/main.go
binary: apiserver
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: agent
main: ./cmd/agent/main.go
binary: agent
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
- id: humcli
main: ./cmd/humcli/main.go
binary: humcli
env:
- CGO_ENABLED=1
goos:
- linux
goarch:
- amd64
archives:
- id: apiserver
builds:
- apiserver
format: tar.gz
name_template: "apiserver_v{{.Version}}_linux_amd64"
files:
- none*
- id: agent
builds:
- agent
format: tar.gz
name_template: "agent_v{{.Version}}_linux_amd64"
files:
- none*
- id: humcli
builds:
- humcli
format: tar.gz
name_template: "humcli_v{{.Version}}_linux_amd64"
files:
- none*