/** * https://dev.to/kouts/automated-versioning-and-package-publishing-using-github-actions-and-semantic-release-1kce * This is what ensures that our releases update the CHANGELOG.md * and commit those changes and a version change in the package.json */ module.exports = { branches: ['master'], plugins: [ '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator', [ '@semantic-release/changelog', { changelogFile: 'CHANGELOG.md', }, ], '@semantic-release/npm', '@semantic-release/github', [ '@semantic-release/git', { assets: ['CHANGELOG.md', 'package.json'], message: 'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}', }, ], ], }