Skip to content

Commit e9c24cb

Browse files
Add goreleaser config
1 parent fb79a55 commit e9c24cb

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.goreleaser.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
project_name: kubectl-ssh-proxy
2+
release:
3+
github:
4+
owner: infinite-turtles
5+
name: kubectl-ssh-proxy
6+
builds:
7+
- id: kubectl-ssh-proxy
8+
goos:
9+
- linux
10+
- windows
11+
- darwin
12+
goarch:
13+
- amd64
14+
- "386"
15+
env:
16+
- CGO_ENABLED=0
17+
- GO111MODULE=on
18+
main: cmd/kubectl-ssh-proxy.go
19+
ldflags: -s -w
20+
-X github.com/infinite-turtles/kubectl-ssh-proxy/pkg/version.version=
21+
archives:
22+
- id: kubectl-ssh-proxy
23+
builds:
24+
- kubectl-ssh-proxy
25+
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
26+
format_overrides:
27+
- goos: windows
28+
format: zip

0 commit comments

Comments
 (0)