Skip to content

Commit 05406e7

Browse files
committed
chore: update changelog configuration and improve test reliability
- Remove `project_name: queue` from the configuration - Change `skip` to `disable` in the changelog configuration - Update VCS provider from `git` to `github` - Adjust regular expressions to include hyphens in the changelog sections - Add new changelog sections for `Refactor`, `Build process updates`, and `Documentation updates` - Remove the `filters` section from the changelog configuration Signed-off-by: appleboy <[email protected]>
1 parent 6d22889 commit 05406e7

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

.goreleaser.yaml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
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:
118
# Set it to true if you wish to skip the changelog generation.
129
# This may result in an empty release notes on GitHub/GitLab/Gitea.
13-
skip: false
10+
disable: false
1411

1512
# Changelog generation implementation to use.
1613
#
@@ -21,7 +18,7 @@ changelog:
2118
# - `github-native`: uses the GitHub release notes generation API, disables the groups feature.
2219
#
2320
# Defaults to `git`.
24-
use: git
21+
use: github
2522

2623
# Sorts the changelog by the commit's messages.
2724
# Could either be asc, desc or empty
@@ -36,22 +33,22 @@ changelog:
3633
# Default is no groups.
3734
groups:
3835
- title: Features
39-
regexp: "^.*feat[(\\w)]*:+.*$"
36+
regexp: "^.*feat[(\\w-)]*:+.*$"
4037
order: 0
41-
- title: 'Bug fixes'
42-
regexp: "^.*fix[(\\w)]*:+.*$"
38+
- title: "Bug fixes"
39+
regexp: "^.*fix[(\\w-)]*:+.*$"
4340
order: 1
44-
- title: 'Enhancements'
45-
regexp: "^.*chore[(\\w)]*:+.*$"
41+
- title: "Enhancements"
42+
regexp: "^.*chore[(\\w-)]*:+.*$"
4643
order: 2
44+
- title: "Refactor"
45+
regexp: "^.*refactor[(\\w-)]*:+.*$"
46+
order: 3
47+
- title: "Build process updates"
48+
regexp: ^.*?(build|ci)(\(.+\))??!?:.+$
49+
order: 4
50+
- title: "Documentation updates"
51+
regexp: ^.*?docs?(\(.+\))??!?:.+$
52+
order: 4
4753
- title: Others
4854
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)