Skip to content

Commit 281e10f

Browse files
author
ops
committed
add .goreleaser.yml
1 parent 43f84f2 commit 281e10f

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+
before:
2+
hooks:
3+
- go mod download
4+
builds:
5+
- id: kubectl-check
6+
main: ./
7+
binary: kubectl-check
8+
env:
9+
- CGO_ENABLED=0
10+
goos:
11+
- linux
12+
- darwin
13+
- windows
14+
goarch:
15+
- amd64
16+
- arm64
17+
ignore:
18+
- goos: windows
19+
goarch: arm64
20+
21+
archives:
22+
- builds:
23+
- kubectl-check
24+
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
25+
wrap_in_directory: "false"
26+
format: tar.gz
27+
files:
28+
- LICENSE

0 commit comments

Comments
 (0)