ci: 测试自动发版
This commit is contained in:
23
.releaserc.js
Normal file
23
.releaserc.js
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
branch: 'master',
|
||||
plugins: [
|
||||
'@semantic-release/commit-analyzer',
|
||||
'@semantic-release/release-notes-generator',
|
||||
[
|
||||
'@semantic-release/changelog',
|
||||
{
|
||||
changelogFile: 'docs/CHANGELOG.md',
|
||||
changelogTitle:
|
||||
'# Changelog\n\nAll notable changes to this project will be documented in this file. See\n[Conventional Commits](https://conventionalcommits.org) for commit guidelines.'
|
||||
}
|
||||
],
|
||||
['@semantic-release/npm', { npmPublish: false }],
|
||||
'@semantic-release/github',
|
||||
[
|
||||
'@semantic-release/git',
|
||||
{
|
||||
assets: ['docs/CHANGELOG.md', 'package.json']
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user