Skip to content

Commit 209eb5f

Browse files
committed
Add goreleaser configuration
1 parent e43a10c commit 209eb5f

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
kubectl-debug
2+
dist
23

34
# Emacs save files
45
*~

.goreleaser.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
project_name: kubectl-debug
2+
release:
3+
github:
4+
owner: verb
5+
name: kubectl-debug
6+
builds:
7+
- id: kubectl-debug
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-debug.go
19+
ldflags: -s -w
20+
archives:
21+
- id: kubectl-debug
22+
builds:
23+
- kubectl-debug
24+
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
25+
format_overrides:
26+
- goos: windows
27+
format: zip

0 commit comments

Comments
 (0)