-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.goreleaser.yml
More file actions
56 lines (50 loc) · 1.16 KB
/
.goreleaser.yml
File metadata and controls
56 lines (50 loc) · 1.16 KB
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
version: 2
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
builds:
- id: default
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/bakito/kubexporter/version.Version={{.Version}}
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm64
# Ensure archives exist, as Homebrew/Snap/Chocolatey typically package from archives.
archives:
- id: default
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
formats:
- tar.gz
format_overrides:
- goos: windows
formats:
- zip
files:
- LICENSE
- README.md
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ .Version }}-next"
changelog:
use: github
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
sboms:
- artifacts: archive
homebrew_casks:
- name: kubexporter
homepage: "https://github.com/bakito/kubexporter"
description: "Export Kubernetes resources for backup and migration."
repository:
owner: "bakito"
name: "homebrew-tap"