-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.goreleaser.yaml
45 lines (45 loc) · 981 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
version: 2
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
- PACKAGE=github.com/cterence/tailout
ldflags:
- -X ${PACKAGE}/internal/version.Version=${VERSION}
- -X ${PACKAGE}/internal/version.CommitHash=${COMMIT_HASH}
- -X ${PACKAGE}/internal/version.BuildTimestamp=${BUILD_TIMESTAMP}
goos:
- linux
main: ./
binary: tailout
archives:
- format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
use: github
groups:
- title: Features
regexp: "^.*(feat:|feat\\/|feat(\\([^\\)]*\\)):).*"
order: 0
- title: "Bug fixes"
regexp: "^.*(fix:|fix\\/|fix(\\([^\\)]*\\)):).*"
order: 1
- title: Others
order: 999
filters:
exclude:
- "^docs"
- "^test"
- "^style"
- "^refactor"
- "^build"
- "^ci"
- "^chore(release)"