Skip to content

Commit

Permalink
chore: update changelog configuration and improve test reliability
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
appleboy committed Jan 4, 2025
1 parent 6d22889 commit 05406e7
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
project_name: queue

builds:
-
# If true, skip the build.
- # If true, skip the build.
# Useful for library projects.
# Default is false
skip: true

changelog:
# Set it to true if you wish to skip the changelog generation.
# This may result in an empty release notes on GitHub/GitLab/Gitea.
skip: false
disable: false

# Changelog generation implementation to use.
#
Expand All @@ -21,7 +18,7 @@ changelog:
# - `github-native`: uses the GitHub release notes generation API, disables the groups feature.
#
# Defaults to `git`.
use: git
use: github

# Sorts the changelog by the commit's messages.
# Could either be asc, desc or empty
Expand All @@ -36,22 +33,22 @@ changelog:
# Default is no groups.
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
regexp: "^.*feat[(\\w-)]*:+.*$"
order: 0
- title: 'Bug fixes'
regexp: "^.*fix[(\\w)]*:+.*$"
- title: "Bug fixes"
regexp: "^.*fix[(\\w-)]*:+.*$"
order: 1
- title: 'Enhancements'
regexp: "^.*chore[(\\w)]*:+.*$"
- title: "Enhancements"
regexp: "^.*chore[(\\w-)]*:+.*$"
order: 2
- title: "Refactor"
regexp: "^.*refactor[(\\w-)]*:+.*$"
order: 3
- title: "Build process updates"
regexp: ^.*?(build|ci)(\(.+\))??!?:.+$
order: 4
- title: "Documentation updates"
regexp: ^.*?docs?(\(.+\))??!?:.+$
order: 4
- title: Others
order: 999

filters:
# Commit messages matching the regexp listed here will be removed from
# the changelog
# Default is empty
exclude:
- '^docs'
- 'CICD'
- typo

0 comments on commit 05406e7

Please sign in to comment.