-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
100 lines (89 loc) · 2 KB
/
.goreleaser.yaml
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
91
92
93
94
95
96
97
98
99
100
project_name: kindacool
snapshot:
name_template: "{{ incpatch .Version }}-next"
dist: bin
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/kindacool
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- "7"
mod_timestamp: "{{ .CommitTimestamp }}"
ldflags:
- -s
- -w
- -extldflags "-static"
flags:
- -trimpath
# release single binary for darwin
universal_binaries:
- replace: true
# overwrite resulting binary names
archives:
- format: binary
rlcp: true
format_overrides:
- goos: windows
format: zip
name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
nfpms:
- maintainer: Tobias Brumhard <[email protected]>
description: kindacool k3s installer.
homepage: https://github.com/brumhard/kindacool
formats:
- deb
- rpm
- apk
checksum:
name_template: "checksums.txt"
changelog:
sort: asc
use: github
groups:
- title: New Features and updates
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: Bug fixes
regexp: "^.*fix[(\\w)]*:+.*$"
order: 10
- title: Documentation updates
regexp: "^.*docs[(\\w)]*:+.*$"
order: 20
- title: Other Work
order: 999
filters:
# Commit messages matching the regexp listed here will be removed from
# the changelog
exclude:
- "^refactor:"
- "^chore"
release:
# replace existing releases with same tag
mode: replace
footer: |
**OCI Image**: `docker pull ghcr.io/brumhard/kindacool:{{ .Tag }}`
**Full Changelog**: https://github.com/brumhard/kindacool/compare/{{ .PreviousTag }}...{{ .Tag }}
kos:
- repository: ghcr.io/brumhard/kindacool
tags:
- "{{ .Tag }}"
- latest
bare: true
preserve_import_paths: false
platforms:
- linux/amd64
- linux/arm64
sbom: none