Skip to content

Commit

Permalink
build: configure release process and changelog management
Browse files Browse the repository at this point in the history
- Add `.goreleaser.yaml` configuration file
- Skip build process for library projects
- Configure changelog to use GitHub with categorized groups for features, bug fixes, enhancements, refactors, build process updates, documentation updates, and others

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Dec 31, 2024
1 parent 5929346 commit f8a6bb0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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
order: 999

0 comments on commit f8a6bb0

Please sign in to comment.