From 4c7ebf2a1864eeda11421a080f76d35fc877ef78 Mon Sep 17 00:00:00 2001 From: FairyEver <1711467488@qq.com> Date: Wed, 22 Apr 2020 13:23:53 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=BF=98=E5=8E=9F=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .releaserc.js | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/.releaserc.js b/.releaserc.js index ec2486a0..46d76b1d 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -1,35 +1,8 @@ module.exports = { branch: 'master', plugins: [ - [ - '@semantic-release/commit-analyzer', - { - 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/commit-analyzer', + '@semantic-release/release-notes-generator', [ '@semantic-release/changelog', {