-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from mmdapl/feat/add-sidebar
feat: 新增变更记录文档,支持release自动生成
- Loading branch information
Showing
7 changed files
with
58 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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<!-- #region recent-beta -->\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<!-- #region recent-alpha -->\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 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.