-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
83 lines (83 loc) · 1.87 KB
/
.goreleaser.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
78
79
80
81
82
83
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: pod-helper
before:
hooks:
# You may remove this if you don't use go modules.
- go mod download
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/pod_helper/main.go
id: pod-helper
binary: pod-helper
goos:
- linux
- windows
- darwin
- env:
- CGO_ENABLED=0
main: ./cmd/kubectl_dsh/main.go
id: kubectl-dsh
binary: kubectl-dsh
goos:
- linux
- windows
- darwin
archives:
- name_template: "pod-helper_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: pod-helper
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
builds:
- pod-helper
- kubectl-dsh
- name_template: "kubectl-dsh_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: kubectl-dsh
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
builds:
- kubectl-dsh
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
brews:
- tap:
owner: dhenkel92
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
folder: Formula
name: pod-helper
ids:
- pod-helper
homepage: https://github.com/dhenkel92/pod-helper
description: Kubernetes Pod Helper Util
test: |
system "#{bin}/pod-helper -h"
- tap:
owner: dhenkel92
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
folder: Formula
name: kubectl-dsh
ids:
- kubectl-dsh
homepage: https://github.com/dhenkel92/pod-helper
description: Kubernetes DSH Plugin
test: |
system "#{bin}/kubectl-dsh -h"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'