-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yml
82 lines (78 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
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
builds:
- id: apitest
flags:
- -tags=prod
ldflags:
- -s -w
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
ignore:
# darwin / macos binaries
- goos: darwin
goarch: arm
- goos: darwin
goarch: amd64
# windows binaries
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
# linux binaries
- goos: linux
goarch: arm
- goos: linux
goarch: arm64
main: ./
binary: apitest
archives:
- id: apitest
name_template: "apitest_{{ .Os }}_{{ .Arch }}"
format: binary
builds:
- apitest
release:
draft: true
prerelease: auto
name_template: "apitest-{{.Tag}}"
github:
name: ""
checksum:
disable: false
changelog:
sort: asc
use: github
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- title: 'Enhancements'
regexp: "^.*enthancement[(\\w)]*:+.*$"
order: 2
- title: Others
order: 999
filters:
exclude:
- '^docs:'
- '^test:'
- '^typo:'
- '^ci:'
- '^cd:'
- '^ci/cd:'
- '^docker:'
- '^k8s:'
- '^config:'
- '^git:'
- '^go:'
- '^gomod:'