-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.goreleaser.yml
54 lines (52 loc) · 1.37 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
builds:
- dir: .
goos:
- linux
- freebsd
goarch:
- 386
- amd64
- arm
- arm64
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X main.name={{.ProjectName}} -X main.target={{.Os}}-{{.Arch}} -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
binary: "{{.ProjectName}}"
archives:
- name_template: "{{.ProjectName}}_{{.Version}}_{{.Os}}_{{.Arch}}"
format: tar.gz
changelog:
sort: asc
use: github
filters:
exclude:
- "^(?i)(t)ypo"
- "^(?i)(m)erge"
groups:
- title: "Dependencies"
regexp: '^.*?(feat|fix|sec|ref|test|docs|build)\(deps\)!?:.+$'
order: 800
- title: "Features"
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: "Issues"
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: "Security"
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
order: 300
- title: "Refactor"
regexp: '^.*?ref(\([[:word:]]+\))??!?:.+$'
order: 400
- title: "Test"
regexp: '^.*?test(\([[:word:]]+\))??!?:.+$'
order: 500
- title: "Documentation"
regexp: ^.*?docs(\([[:word:]]+\))??!?:.+$
order: 600
- title: "Build"
regexp: ^.*?build(\([[:word:]]+\))??!?:.+$
order: 700
- title: "Other"
order: 900