From 5401378058337970b9bc598b6dde472176d30f3e Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 19 Apr 2024 10:27:48 +0800 Subject: [PATCH] chore: refine Changelog Generation Process - Change the changelog generation from using git to using GitHub - Add custom changelog sections for build process and documentation updates with specific regex patterns and order Signed-off-by: Bo-Yi Wu --- .goreleaser.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5575a90..180f8ff 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -99,7 +99,7 @@ release: - glob: ./**.xz changelog: - use: git + use: github groups: - title: Features regexp: "^.*feat[(\\w)]*:+.*$" @@ -113,5 +113,11 @@ changelog: - 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