Update .goreleaser.yaml

This commit is contained in:
2025-08-10 22:51:55 +00:00
parent 4b49b43b6d
commit a99b146968

View File

@@ -1,16 +1,7 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
version: 2
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
@@ -37,7 +28,19 @@ archives:
formats: [zip]
changelog:
use: gitea
format: "{{.SHA}}: {{.Message}} (@{{.AuthorUsername}})"
abbrev: -1
sort: asc
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Bug fixes"
regexp: '^.*?bug(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
filters:
exclude:
- "^docs:"