chore: Update config for git-cliff (#8111)

This commit is contained in:
Donny/강동윤 2023-10-13 11:36:57 +09:00 committed by GitHub
parent def2bb1efc
commit 5d7822786e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -64,11 +64,15 @@ commit_parsers = [
{ message = "^style", group = "Styling" }, { message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" }, { message = "^test", group = "Testing" },
{ message = "^chore: Publish", skip = true }, { message = "^chore: Publish", skip = true },
{ message = "^chore:", skip = true },
{ message = "^chore(ci):", skip = true },
{ message = "^chore(xtask):", skip = true },
{ message = "^chore", group = "Miscellaneous Tasks" }, { message = "^chore", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" }, { body = ".*security", group = "Security" },
] ]
# filter out the commits that are not matched by commit parsers # filter out the commits that are not matched by commit parsers
filter_commits = false filter_commits = false
# glob pattern for matching git tags # glob pattern for matching git tags
ignore_tags = "nightly"
limit_commits = 1000 limit_commits = 1000
tag_pattern = "v[0-9]*" tag_pattern = "v[0-9]*"

View File

@ -16,5 +16,6 @@ git reset --hard
# Update version # Update version
npm version "$version" --no-git-tag-version --allow-same-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 $version -p binding_core_wasm -p binding_minifier_wasm)
(cd ./bindings && cargo set-version --bump patch -p swc_cli) (cd ./bindings && cargo set-version --bump patch -p swc_cli)