1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00
kyverno/.goreleaser.yml

49 lines
884 B
YAML
Raw Normal View History

project_name: kyverno-cli
2020-05-15 14:21:35 +00:00
before:
hooks:
- go mod download
2020-04-29 16:57:49 +00:00
builds:
- id: kyverno-cli
2020-05-15 14:21:35 +00:00
main: cmd/cli/kubectl-kyverno/main.go
2020-06-04 23:43:05 +00:00
binary: kyverno
2020-05-15 14:21:35 +00:00
env:
- CGO_ENABLED=0
goos:
2020-04-29 16:57:49 +00:00
- linux
- darwin
2020-05-15 14:21:35 +00:00
- windows
goarch:
2020-04-29 16:57:49 +00:00
- amd64
archives:
- id: kyverno-cli-archive
2020-05-15 14:21:35 +00:00
name_template: |-
kyverno-cli_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
2020-05-15 14:21:35 +00:00
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
builds:
- kyverno-cli
2020-05-15 14:21:35 +00:00
format_overrides:
2020-04-29 16:57:49 +00:00
- goos: windows
2020-04-29 17:50:50 +00:00
format: zip
replacements:
386: i386
amd64: x86_64
2020-05-15 14:21:35 +00:00
files: ["LICENSE"]
checksum:
name_template: "checksums.txt"
algorithm: sha256
release:
2020-05-28 19:23:12 +00:00
prerelease: auto
changelog:
sort: asc
filters:
# commit messages matching the regexp listed here will be removed from
# the changelog
exclude:
- '^docs:'
- typo