forked from kubesphere/kubekey
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
56 lines (56 loc) · 1.35 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
# Official documentation at http://goreleaser.com
project_name: kubekey
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/kk/main.go
binary: kk
goarch:
- amd64
- arm64
goos:
- linux
hooks:
post:
- upx "{{ .Path }}"
ldflags:
- -X github.com/kubesphere/kubekey/version.version={{.Version}}
- -X github.com/kubesphere/kubekey/version.gitCommit={{.ShortCommit}}
- -w
- -s
dist: bin
archives:
- name_template: "kubekey-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
replacements:
linux: linux
amd64: amd64
arm64: arm64
files:
- README.md
- README_zh-CN.md
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Version }}-next-{{.ShortCommit}}"
changelog:
skip: true
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- file_name_template: "kubekey-v{{ .Version }}-{{.Os}}-{{.Arch}}"
homepage: https://github.com/kubesphere/kubekey
description: "KubeKey provides a flexible, rapid and convenient way to install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons. It is also an efficient tool to scale and upgrade your cluster."
maintainer: kubesphere authors
license: Apache-2.0
vendor: Kubesphere
formats:
- deb
- rpm
bindir: /usr/bin
replacements:
amd64: 64bit
arm64: arm64
linux: linux