Skip to content

Commit b186690

Browse files
committed
chore: update goreleaser
1 parent eaaade4 commit b186690

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

.goreleaser.yaml

+33-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Make sure to check the documentation at https://goreleaser.com
2-
project_name: azure-openai-proxy
32
env:
43
- GIT_URL=https://github.com/stulzq/azure-openai-proxy
54
before:
@@ -17,6 +16,8 @@ builds:
1716
- amd64
1817
main: ./cmd
1918
binary: azure-openai-proxy
19+
flags:
20+
- -trimpath
2021
ldflags:
2122
- -s -w
2223
- -X main.version={{ .Version }}
@@ -41,13 +42,43 @@ checksum:
4142
name_template: 'checksums.txt'
4243
snapshot:
4344
name_template: "{{ incpatch .Version }}-next"
45+
46+
# https://goreleaser.com/customization/changelog/
4447
changelog:
4548
sort: asc
49+
use: github
4650
filters:
4751
exclude:
4852
- '^build:'
4953
- '^ci:'
50-
- '^docs:'
54+
# - '^docs:'
5155
- '^test:'
5256
- '^chore:'
5357
- '^feat(deps):'
58+
- 'merge conflict'
59+
- Merge pull request
60+
- Merge remote-tracking branch
61+
- Merge branch
62+
- go mod tidy
63+
- '^Update'
64+
groups:
65+
- title: Dependency updates
66+
regexp: '^.*?(feat|fix)\(deps\)!?:.+$'
67+
order: 300
68+
- title: 'New Features'
69+
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
70+
order: 100
71+
- title: 'Security updates'
72+
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
73+
order: 150
74+
- title: 'Bug fixes'
75+
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
76+
order: 200
77+
- title: 'Documentation updates'
78+
regexp: '^.*?doc(\([[:word:]]+\))??!?:.+$'
79+
order: 400
80+
# - title: 'Build process updates'
81+
# regexp: '^.*?build(\([[:word:]]+\))??!?:.+$'
82+
# order: 400
83+
- title: Other work
84+
order: 9999

0 commit comments

Comments
 (0)