Skip to content

Commit 2764902

Browse files
committed
chore: update changelog generation and configuration settings
- Update the goreleaser action version from v5 to v6 - Change the project name in the goreleaser configuration - Modify the changelog generation method from git to github - Update changelog titles to use double quotes instead of single quotes - Add new changelog categories for Refactor, Build process updates, and Documentation updates - Remove unnecessary filters from the changelog configuration Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent d3588e3 commit 2764902

File tree

2 files changed

+14
-42
lines changed

2 files changed

+14
-42
lines changed

.github/workflows/goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
go-version-file: "go.mod"
2323
- name: Run GoReleaser
24-
uses: goreleaser/goreleaser-action@v5
24+
uses: goreleaser/goreleaser-action@v6
2525
with:
2626
# either 'goreleaser' (default) or 'goreleaser-pro'
2727
distribution: goreleaser

.goreleaser.yaml

+13-41
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,29 @@
1-
project_name: queue
2-
31
builds:
4-
-
5-
# If true, skip the build.
2+
- # If true, skip the build.
63
# Useful for library projects.
74
# Default is false
85
skip: true
96

107
changelog:
11-
# Set it to true if you wish to skip the changelog generation.
12-
# This may result in an empty release notes on GitHub/GitLab/Gitea.
13-
skip: false
14-
15-
# Changelog generation implementation to use.
16-
#
17-
# Valid options are:
18-
# - `git`: uses `git log`;
19-
# - `github`: uses the compare GitHub API, appending the author login to the changelog.
20-
# - `gitlab`: uses the compare GitLab API, appending the author name and email to the changelog.
21-
# - `github-native`: uses the GitHub release notes generation API, disables the groups feature.
22-
#
23-
# Defaults to `git`.
24-
use: git
25-
26-
# Sorts the changelog by the commit's messages.
27-
# Could either be asc, desc or empty
28-
# Default is empty
29-
sort: asc
30-
31-
# Group commits messages by given regex and title.
32-
# Order value defines the order of the groups.
33-
# Proving no regex means all commits will be grouped under the default group.
34-
# Groups are disabled when using github-native, as it already groups things by itself.
35-
#
36-
# Default is no groups.
8+
use: github
379
groups:
3810
- title: Features
3911
regexp: "^.*feat[(\\w)]*:+.*$"
4012
order: 0
41-
- title: 'Bug fixes'
13+
- title: "Bug fixes"
4214
regexp: "^.*fix[(\\w)]*:+.*$"
4315
order: 1
44-
- title: 'Enhancements'
16+
- title: "Enhancements"
4517
regexp: "^.*chore[(\\w)]*:+.*$"
4618
order: 2
19+
- title: "Refactor"
20+
regexp: "^.*refactor[(\\w)]*:+.*$"
21+
order: 3
22+
- title: "Build process updates"
23+
regexp: ^.*?(build|ci)(\(.+\))??!?:.+$
24+
order: 4
25+
- title: "Documentation updates"
26+
regexp: ^.*?docs?(\(.+\))??!?:.+$
27+
order: 4
4728
- title: Others
4829
order: 999
49-
50-
filters:
51-
# Commit messages matching the regexp listed here will be removed from
52-
# the changelog
53-
# Default is empty
54-
exclude:
55-
- '^docs'
56-
- 'CICD'
57-
- typo

0 commit comments

Comments
 (0)