-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy path.goreleaser.yml
81 lines (73 loc) · 1.96 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
version: 2
builds:
- id: "mdz"
env:
- CGO_ENABLED=0
main: ./components/mdz
binary: mdz
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- "386"
- amd64
- arm
- ppc64
goarm:
- "7"
ldflags:
- -s -w
- -X github.com/LerianStudio/midaz/components/mdz/pkg/environment.ClientID=9670e0ca55a29a466d31
- -X github.com/LerianStudio/midaz/components/mdz/pkg/environment.ClientSecret=dd03f916cacf4a98c6a413d9c38ba102dce436a9
- -X github.com/LerianStudio/midaz/components/mdz/pkg/environment.URLAPIAuth=http://127.0.0.1:8080
- -X github.com/LerianStudio/midaz/components/mdz/pkg/environment.URLAPILedger=http://127.0.0.1:3000
- -X github.com/LerianStudio/midaz/components/mdz/pkg/environment.Version={{.Version}}
archives:
- format: zip
nfpms:
- id: packages
license: Apache-2.0 license
maintainer: Lerian Studio Technologies <https://github.com/LerianStudio/>
package_name: mdz
homepage: https://github.com/LerianStudio/midaz
bindir: /usr/local/bin
formats:
- apk
- deb
- rpm
- archlinux
changelog:
sort: asc
filters:
exclude:
- "merge conflict"
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
groups:
- title: "Breaking Changes"
regexp: "^.*breaking[(\\w)]*:+.*$"
order: 0
- title: "New Features"
regexp: "^.*feat[(\\w)]*:+.*$"
order: 10
- title: "Improvements"
regexp: "^.*chore[(\\w)]*:+.*$"
order: 20
- title: "Bug Fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 30
- title: "Security Updates"
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
order: 40
- title: "Documentation Updates"
regexp: ^.*?docs(\([[:word:]]+\))??!?:.+$
order: 50
- title: "Tests"
regexp: ^.*?(test(s)?(\([[:word:]]+\))?)!?:.+$
order: 60
- title: Other Work
order: 999