From d7a1d70709b2ca3d79376ec06e3ec826fd1057f3 Mon Sep 17 00:00:00 2001 From: qloog Date: Sat, 22 Jun 2024 21:34:13 +0800 Subject: [PATCH] chore(ci): upgrade goreleaser to v2 --- .goreleaser.yml | 18 +++++++----------- CHANGELOG.md | 1 + 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index ca150e653e..911cdb5b8e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,19 +1,15 @@ # see: https://goreleaser.com/customization/ +version: 2 project_name: eagle 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 - # Changelog generation implementation to use. # # Valid options are: @@ -40,10 +36,10 @@ changelog: - title: Features regexp: "^.*feat[(\\w)]*:+.*$" order: 0 - - title: 'Bug fixes' + - title: "Bug fixes" regexp: "^.*fix[(\\w)]*:+.*$" order: 1 - - title: 'Enhancements' + - title: "Enhancements" regexp: "^.*chore[(\\w)]*:+.*$" order: 2 - title: Others @@ -54,6 +50,6 @@ changelog: # the changelog # Default is empty exclude: - - '^docs' - - 'CICD' - - typo \ No newline at end of file + - "^docs" + - "CICD" + - typo diff --git a/CHANGELOG.md b/CHANGELOG.md index f48adf4c22..738e60c229 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - feat: support config multiple databases - chore(cli): generate project by adding branch name, default is http server - chore(db): add timeout for connect, read and write +- chore(ci): upgrade goreleaser to v2 ## v1.8.1 - fix: GitHub workflow badge URL