forked from derailed/k9s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
90 lines (88 loc) · 1.9 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
84
85
86
87
88
89
90
project_name: k9s
before:
hooks:
- go mod download
- go generate ./...
release:
prerelease: true
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- 6
- 7
ldflags:
- -s -w -X github.com/derailed/k9s/cmd.version={{.Version}} -X github.com/derailed/k9s/cmd.commit={{.Commit}} -X github.com/derailed/k9s/cmd.date={{.Date}}
archive:
replacements:
darwin: Darwin
linux: Linux
windows: Windows
bit: Arm
bitv6: Arm6
bitv7: Arm7
386: i386
amd64: x86_64
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
# Homebrew
brew:
name: k9s
github:
owner: derailed
name: k9s-homebrew-tap
commit_author:
name: derailed
email: [email protected]
folder: Formula
homepage: https://k9ss.io
description: Kubernetes CLI To Manage Your Clusters In Style!
test: |
system "k9s version"
# Snapcraft
# snapcraft:
# name: k9s
# summary: K9s is a CLI to view and manage your Kubernetes clusters.
# description: |
# K9s is a CLI to view and manage your Kubernetes clusters.
# By leveraging a terminal UI, you can easily traverse Kubernetes resources
# and view the state of you clusters in a single powerful session.
# name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# publish: true
# replacements:
# amd64: 64-bit
# 386: 32-bit
# darwin: macOS
# linux: Tux
# bit: Arm
# bitv6: Arm6
# bitv7: Arm7
# # grade: devel
# # confinement: devmode
# grade: stable
# confinement: strict
# apps:
# k9s:
# plugs: ["home", "network", "kube-config"]
# plugs:
# kube-config:
# interface: personal-files
# read:
# - $HOME/.kube