-
Notifications
You must be signed in to change notification settings - Fork 128
/
.goreleaser-dev.yml
77 lines (72 loc) · 1.78 KB
/
.goreleaser-dev.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 2
builds:
- builder: prebuilt
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
- 386
goamd64:
- v1
prebuilt:
path: "{{ .Os }}/testkube_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/kubectl-testkube{{ .Ext }}"
binary: kubectl-testkube
archives:
- id: testkube
name_template: >-
{{ .ProjectName }}_{{.Version}}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: "checksums.txt"
sboms:
- artifacts: archive
- id: source
artifacts: source
signs:
- cmd: cosign
certificate: '${artifact}.pem'
args:
- sign-blob
- '--output-certificate=${certificate}'
- '--output-signature=${signature}'
- '${artifact}'
- "--yes"
artifacts: all
output: true
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
release:
# Create a thread in the General category in the repo's discussion tab.
discussion_category_name: General
# Tags that have the format v1.0.0-rc1 will mark the release as a pre-release (i.e. not ready for production)
# Other tags will be marked as ready for production
prerelease: auto
brews:
- repository:
owner: kubeshop
name: homebrew-testkube-dev
description: Testkube - your somewhat opinionated and friendly Kubernetes testing framework!
homepage: https://testkube.io
license: "MIT"
dependencies:
- name: helm
- name: kubectl
install: |
bin.install "kubectl-testkube"
ln_s bin/"kubectl-testkube", bin/"tk"
ln_s bin/"kubectl-testkube", bin/"testkube"
nfpms:
- maintainer: Testkube team
license: "MIT"
formats:
- deb