diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0277b0c..3086cf3 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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:"