forked from kcp-dev/kcp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
72 lines (72 loc) · 1.19 KB
/
.goreleaser.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
builds:
- id: "kcp"
main: ./cmd/kcp
binary: bin/kcp
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: ppc64le
- id: "kubectl-kcp"
main: ./cmd/kubectl-kcp
binary: bin/kubectl-kcp
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
- id: "kubectl-workspace"
main: ./cmd/kubectl-workspace
binary: bin/kubectl-workspace
ldflags:
- "{{ .Env.LDFLAGS }}"
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- ppc64le
ignore:
- goos: darwin
goarch: ppc64le
- goos: windows
goarch: ppc64le
hooks:
post:
- ln -sfr bin/kubectl-workspace bin/kubectl-workspaces
- ln -sfr bin/kubectl-workspace bin/kubectl-ws
archives:
- id: kcp
builds:
- kcp
- id: kubectl-kcp-plugin
builds:
- kubectl-kcp
- kubectl-workspace
name_template: "kubectl-kcp-plugin_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- bin/kubectl-workspaces
- bin/kubectl-ws
release:
draft: true
prerelease: auto
mode: keep-existing