ci: 还原配置
This commit is contained in:
parent
b12abab451
commit
4c7ebf2a18
|
|
@ -1,35 +1,8 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
branch: 'master',
|
branch: 'master',
|
||||||
plugins: [
|
plugins: [
|
||||||
[
|
'@semantic-release/commit-analyzer',
|
||||||
'@semantic-release/commit-analyzer',
|
'@semantic-release/release-notes-generator',
|
||||||
{
|
|
||||||
preset: 'angular',
|
|
||||||
releaseRules: [
|
|
||||||
{ type: 'style', release: 'patch' },
|
|
||||||
{ type: 'refactor', release: 'patch' },
|
|
||||||
{ type: 'build', release: 'patch' },
|
|
||||||
{ type: 'chore', release: 'patch' }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
|
||||||
'@semantic-release/release-notes-generator',
|
|
||||||
{
|
|
||||||
presetConfig: {
|
|
||||||
types: [
|
|
||||||
{ type: 'feat', section: 'Features' },
|
|
||||||
{ type: 'fix', section: 'Bug Fixes' },
|
|
||||||
{ type: 'chore', section: 'Chore' },
|
|
||||||
{ type: 'docs', section: 'Documents' },
|
|
||||||
{ type: 'style', section: 'Code Style' },
|
|
||||||
{ type: 'refactor', section: 'Refactor' },
|
|
||||||
{ type: 'perf', section: 'Performance improvement' },
|
|
||||||
{ type: 'test', section: 'Test' }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
'@semantic-release/changelog',
|
'@semantic-release/changelog',
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue