ci: 测试自动发版

This commit is contained in:
FairyEver
2020-04-18 21:47:07 +08:00
parent edaabd0b70
commit 9dd7d2873c
3 changed files with 64 additions and 3 deletions

23
.releaserc.js Normal file
View 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']
}
]
]
}