Skip to content

Commit

Permalink
build(releaser): enhance build process and automate changelog generation
Browse files Browse the repository at this point in the history
- Add a `.goreleaser.yaml` configuration file
- Skip the build process by default
- Configure changelog to use GitHub with categorized groups (Features, Bug fixes, Enhancements, Refactor, Build process updates, Documentation updates, Others)

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Oct 25, 2024
1 parent 7522fdb commit f39f5bb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
builds:
- # If true, skip the build.
# Useful for library projects.
# Default is false
skip: true

changelog:
use: github
groups:
- title: Features
regexp: "^.*feat[(\\w)]*:+.*$"
order: 0
- title: "Bug fixes"
regexp: "^.*fix[(\\w)]*:+.*$"
order: 1
- 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

0 comments on commit f39f5bb

Please sign in to comment.