ci: fix release.config plugins array

This commit is contained in:
Luke Bennett 2021-06-13 03:47:30 +01:00
parent f5b70712a2
commit abb5aee53e
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A

View file

@ -1,7 +1,7 @@
module.exports = {
branches: ['stable'],
plugins: {
commitAnalyzer: [
plugins: [
[
'@semantic-release/commit-analyzer',
{
releaseRules: [
@ -11,21 +11,21 @@ module.exports = {
],
},
],
releaseNotes: '@semantic-release/release-notes-generator',
changelog: [
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
changelogTitle: '# CHANGELOG',
},
],
github: '@semantic-release/github',
npm: '@semantic-release/npm',
git: [
'@semantic-release/github',
'@semantic-release/npm',
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'package.json'],
},
],
},
],
};