-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
56 lines (54 loc) · 1.3 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
before:
hooks:
- go mod tidy
- go generate ./...
builds:
- id: kubectl-plugin_completion
binary: kubectl-plugin_completion
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
ignore:
- goos: windows
goarch: arm64
archives:
- builds:
- kubectl-plugin_completion
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
wrap_in_directory: false
format: tar.gz
files:
- LICENSE
format_overrides:
- goos: windows
format: zip
id: kubectl-plugin_completion
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
krews:
-
name: plugin_completion
ids:
- kubectl-plugin_completion
homepage: "https://github.com/MartinSimango/kubectl-plugin_completion"
description: "This plugin allows for the creation of completion scripts"
short_description: "Allow shell completion for kubectl plugins"
url_template: "https://github.com/MartinSimango/kubectl-plugin_completion/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
skip_upload: true
release:
extra_files:
- glob: ./dist/plugin_completion.yaml