-
Notifications
You must be signed in to change notification settings - Fork 9
/
.goreleaser.yml
67 lines (67 loc) · 1.47 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
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
# - windows
goarch:
- arm64
- amd64
- 386
goarm:
- 6
- 7
archives:
- name_template: |-
kluster-capacity_{{ .Tag }}_{{ .Os }}_{{ .Arch -}}
{{- with .Arm -}}
{{- if (eq . "6") -}}hf
{{- else -}}v{{- . -}}
{{- end -}}
{{- end -}}
replacements:
386: i386
amd64: x86_64
# format_overrides:
# - goos: windows
# format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
skip: false
use: git
sort: asc
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: Others
order: 999
filters:
exclude:
- "^docs:"
- "^test:"
brews:
- name: kluster-capacity
tap:
# The token determines the release type (Github/Gitlab).
owner: k-cloud-labs
name: homebrew-tap
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
folder: Formula
# Brew fails from multiple 32-bit arm versions.
# Specify which version should be used.
goarm: 6
homepage: https://github.com/k-cloud-labs/kluster-capacity
license: apache-2.0
description: A simple CLI provide cluster capacity analysis with scheduler simulation.
dependencies:
- name: git
test: |
system "#{bin}/kube-capacity version"