-
Notifications
You must be signed in to change notification settings - Fork 3
/
.goreleaser.yaml
45 lines (42 loc) · 920 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
project_name: type2md
builds:
- env:
- CGO_ENABLED=0
- GOPROXY="https://goproxy.cn,direct"
flags:
- -trimpath
ldflags:
- -s -w
- -X "main.Version={{ .Version }}"
- -X "main.CommitID={{ .ShortCommit }}"
- -X "main.BuildTime={{ .Date }}"
main: .
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
use: gitlab
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 100
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 200
- title: 'Documentation updates'
regexp: "^.*docs[(\\w)]*:+.*$"
order: 400
- title: Others
order: 999
filters:
exclude:
- '^test:'
- '^chore'
- 'merge conflict'
- '^ci'
- '^style'
- Merge pull request
- Merge remote-tracking branch
- Merge branch
release:
footer: "Thanks for your support!"