Skip to content

Commit

Permalink
chore: update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
stulzq committed Apr 4, 2023
1 parent eaaade4 commit b186690
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Make sure to check the documentation at https://goreleaser.com
project_name: azure-openai-proxy
env:
- GIT_URL=https://github.com/stulzq/azure-openai-proxy
before:
Expand All @@ -17,6 +16,8 @@ builds:
- amd64
main: ./cmd
binary: azure-openai-proxy
flags:
- -trimpath
ldflags:
- -s -w
- -X main.version={{ .Version }}
Expand All @@ -41,13 +42,43 @@ checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"

# https://goreleaser.com/customization/changelog/
changelog:
sort: asc
use: github
filters:
exclude:
- '^build:'
- '^ci:'
- '^docs:'
# - '^docs:'
- '^test:'
- '^chore:'
- '^feat(deps):'
- 'merge conflict'
- Merge pull request
- Merge remote-tracking branch
- Merge branch
- go mod tidy
- '^Update'
groups:
- title: Dependency updates
regexp: '^.*?(feat|fix)\(deps\)!?:.+$'
order: 300
- title: 'New Features'
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 100
- title: 'Security updates'
regexp: '^.*?sec(\([[:word:]]+\))??!?:.+$'
order: 150
- title: 'Bug fixes'
regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$'
order: 200
- title: 'Documentation updates'
regexp: '^.*?doc(\([[:word:]]+\))??!?:.+$'
order: 400
# - title: 'Build process updates'
# regexp: '^.*?build(\([[:word:]]+\))??!?:.+$'
# order: 400
- title: Other work
order: 9999

0 comments on commit b186690

Please sign in to comment.