From 8ddda11dd104745b628ec2a8aed8e1894d1e24a4 Mon Sep 17 00:00:00 2001 From: gxz Date: Fri, 13 Oct 2023 13:08:41 +0800 Subject: [PATCH] chore: ci --- CHANGELOG.md | 43 ------------------------------------------- package.json | 29 +++++++++++++++++++++++++---- 2 files changed, 25 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ed3f0d..e69de29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,43 +0,0 @@ -# IRIS_WEB - -# 0.1.0 (2023-10-13) - - -### Features - -* Use IrisClient/IrisClientManager to manage IAgoraRTCClient ([#7](https://github.com/AgoraIO-Extensions/iris_web/issues/7)) ([902f2f5](https://github.com/AgoraIO-Extensions/iris_web/commit/902f2f536604ba59a3a3db0e6b75fa62b801d037)) - -# 0.1.0 (2023-10-13) - - -### Features - -* Use IrisClient/IrisClientManager to manage IAgoraRTCClient ([#7](https://github.com/AgoraIO-Extensions/iris_web/issues/7)) ([902f2f5](https://github.com/AgoraIO-Extensions/iris_web/commit/902f2f536604ba59a3a3db0e6b75fa62b801d037)) - -# 0.1.0 (2023-10-13) - - -### Features - -* Use IrisClient/IrisClientManager to manage IAgoraRTCClient ([#7](https://github.com/AgoraIO-Extensions/iris_web/issues/7)) ([902f2f5](https://github.com/AgoraIO-Extensions/iris_web/commit/902f2f536604ba59a3a3db0e6b75fa62b801d037)) - -# 0.1.0 (2023-10-13) - - -### Features - -* Use IrisClient/IrisClientManager to manage IAgoraRTCClient ([#7](https://github.com/AgoraIO-Extensions/iris_web/issues/7)) ([902f2f5](https://github.com/AgoraIO-Extensions/iris_web/commit/902f2f536604ba59a3a3db0e6b75fa62b801d037)) - -# 0.1.0 (2023-10-13) - - -### Features - -* Use IrisClient/IrisClientManager to manage IAgoraRTCClient ([#7](https://github.com/AgoraIO-Extensions/iris_web/issues/7)) ([902f2f5](https://github.com/AgoraIO-Extensions/iris_web/commit/902f2f536604ba59a3a3db0e6b75fa62b801d037)) - -# 0.1.0 (2023-10-13) - - -### Features - -* Use IrisClient/IrisClientManager to manage IAgoraRTCClient ([#7](https://github.com/AgoraIO-Extensions/iris_web/issues/7)) ([902f2f5](https://github.com/AgoraIO-Extensions/iris_web/commit/902f2f536604ba59a3a3db0e6b75fa62b801d037)) \ No newline at end of file diff --git a/package.json b/package.json index c427401..be27443 100644 --- a/package.json +++ b/package.json @@ -44,20 +44,41 @@ }, "release-it": { "git": { - "commitMessage": "docs: update CHANGELOG.md", - "requireCleanWorkingDir": false + "commitMessage": "chore: release ${version}", + "requireCleanWorkingDir": false, + "tagName": "v${version}" + }, + "npm": { + "publish": false, + "allowSameVersion": true }, - "npm": false, "github": { "release": true }, "hooks": { + "before:init": "git fetch --prune --prune-tags origin", "before:git:release": "git reset HEAD package.json" }, "plugins": { "@release-it/conventional-changelog": { "header": "# IRIS_WEB", - "preset": "angular", + "preset": { + "name": "conventionalcommits", + "types": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "docs", + "section": "Documentation" + } + ] + }, "infile": "CHANGELOG.md" } }