From 5d7822786ef475cc98f4a012b014d4dd7692165b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Fri, 13 Oct 2023 11:36:57 +0900 Subject: [PATCH] chore: Update config for `git-cliff` (#8111) --- cliff.toml | 4 ++++ scripts/publish.sh | 1 + 2 files changed, 5 insertions(+) diff --git a/cliff.toml b/cliff.toml index 88ed17683fe..db0090066e3 100644 --- a/cliff.toml +++ b/cliff.toml @@ -64,11 +64,15 @@ commit_parsers = [ { message = "^style", group = "Styling" }, { message = "^test", group = "Testing" }, { message = "^chore: Publish", skip = true }, + { message = "^chore:", skip = true }, + { message = "^chore(ci):", skip = true }, + { message = "^chore(xtask):", skip = true }, { message = "^chore", group = "Miscellaneous Tasks" }, { body = ".*security", group = "Security" }, ] # filter out the commits that are not matched by commit parsers filter_commits = false # glob pattern for matching git tags +ignore_tags = "nightly" limit_commits = 1000 tag_pattern = "v[0-9]*" diff --git a/scripts/publish.sh b/scripts/publish.sh index a3238a2479b..ff1b6fca9b7 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -16,5 +16,6 @@ git reset --hard # Update version npm version "$version" --no-git-tag-version --allow-same-version +(cd ./packages/minifier && npm version "$version" --no-git-tag-version --allow-same-version) (cd ./bindings && cargo set-version $version -p binding_core_wasm -p binding_minifier_wasm) (cd ./bindings && cargo set-version --bump patch -p swc_cli)