-
Notifications
You must be signed in to change notification settings - Fork 10
/
.goreleaser.yml
63 lines (55 loc) · 1.55 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
builds:
-
main: ./cmd/banzai
binary: banzai
env:
- CGO_ENABLED=0
ldflags: "-s -w {{ .Env.GORELEASER_LDFLAGS }}"
goos:
- linux
- darwin
goarch:
- amd64
archives:
-
name_template: "banzai_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "banzai_checksums.txt"
changelog:
skip: true
brews:
-
tap:
owner: banzaicloud
name: homebrew-tap
folder: Formula
homepage: https://banzaicloud.com/
description: Command-line interface for Banzai Cloud Pipeline platform
test: |
system "#{bin}/banzai --version"
install: |
bin.install "banzai"
# Install bash completion
output = Utils.popen_read("#{bin}/banzai completion bash")
(bash_completion/"banzai").write output
# Install zsh completion
output = Utils.popen_read("#{bin}/banzai completion zsh")
(zsh_completion/"_banzai").write output
dependencies:
- name: kubectl
nfpms:
-
vendor: Banzai Cloud
maintainer: Banzai Cloud <[email protected]>
homepage: https://banzaicloud.com/
description: Command-line interface for Banzai Cloud Pipeline platform
formats:
- deb
- rpm
bindir: /usr/bin
license: Apache 2.0
blobs:
-
provider: s3
bucket: banzaicloud.com
folder: "downloads/banzai-cli/{{ .Version }}"