From 452e9ead6d7a61d0add18235f81011cf7decdf88 Mon Sep 17 00:00:00 2001 From: chu fan Date: Wed, 11 Oct 2023 00:07:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Drelease=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E8=AE=B0=E5=BD=95=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .versionrc.js | 43 ++++++++++++++++++++++--------------------- CHANGELOG.md | 2 +- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/.versionrc.js b/.versionrc.js index 0a51fa7..71f49b9 100644 --- a/.versionrc.js +++ b/.versionrc.js @@ -1,24 +1,25 @@ // commit-and-tag-version 配置,参考:https://github.com/conventional-changelog/standard-version -module.exports={ - "header": "# Release history\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.\n\n\n", - "releaseCommitMessageFormat": "chore(release): publish v{{currentTag}}", - "types": [ - { "type": "feat", "section": "Features" }, - { "type": "feature", "section": "Features" }, - { "type": "fix", "section": "Bug Fixes" }, - { "type": "perf", "section": "Performance Improvements" }, - { "type": "revert", "section": "Reverts" }, - { "type": "docs", "section": "Documentation", "hidden": true }, - { "type": "style", "section": "Styles", "hidden": true }, - { "type": "chore", "section": "Miscellaneous Chores", "hidden": true }, - { "type": "refactor", "section": "Code Refactoring", "hidden": true }, - { "type": "test", "section": "Tests", "hidden": true }, - { "type": "build", "section": "Build System", "hidden": true }, - { "type": "ci", "section": "Continuous Integration", "hidden": true } +// 配置参考:https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.2.0/README.md +module.exports = { + header: '# Release history\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.\n\n\n', + releaseCommitMessageFormat: 'chore(release): publish v{{currentTag}}', + types: [ + {type: 'feat', section: 'Features'}, + {type: 'feature', section: 'Features'}, + {type: 'fix', section: 'Bug Fixes'}, + {type: 'perf', section: 'Performance Improvements'}, + {type: 'revert', section: 'Reverts'}, + {type: 'docs', section: 'Documentation', hidden: true}, + {type: 'style', section: 'Styles', hidden: true}, + {type: 'chore', section: 'Miscellaneous Chores', hidden: true}, + {type: 'refactor', section: 'Code Refactoring', hidden: true}, + {type: 'test', section: 'Tests', hidden: true}, + {type: 'build', section: 'Build System', hidden: true}, + {type: 'ci', section: 'Continuous Integration', hidden: true} ], - "skip": { - "bump": true, - "commit": true, - "tag": true + skip: { + bump: true, + commit: true, + tag: true } -} \ No newline at end of file +} diff --git a/CHANGELOG.md b/CHANGELOG.md index c9cd058..6da9fd5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - + ## [0.0.1-alpha.5](https://github.com/mmdapl/408CSFamily/compare/v0.0.1-alpha.4...v0.0.1-alpha.5) (2023-10-10)