-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.goreleaser.yaml
50 lines (45 loc) · 947 Bytes
/
.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
before:
hooks:
- go mod tidy
builds:
- id: salt-exporter
binary: salt-exporter
main: ./cmd/salt-exporter
env:
- CGO_ENABLED=0
goos:
- linux
- id: salt-live
binary: salt-live
main: ./cmd/salt-live
env:
- CGO_ENABLED=0
goos:
- linux
archives:
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{- title .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
use: github
sort: asc
abbrev: -1
filters:
exclude:
- '^docs:'
- '^test:'
groups:
- title: 'Breaking changes'
regexp: '^.*?(\([[:word:]]+\))??!:.+$'
order: 0
- title: 'Enhancements'
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 1
- title: 'Fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 2
- title: 'Internal'
regexp: '^.+$'
order: 999