diff --git a/release.config.cjs b/release.config.cjs index f095b13..0711349 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -21,7 +21,9 @@ configuration.plugins.push(['@semantic-release/commit-analyzer', { configuration.plugins.push('@semantic-release/release-notes-generator'); -configuration.plugins.push('@semantic-release/changelog'); +if (process.env.BRANCH === 'main') { + configuration.plugins.push('@semantic-release/changelog'); +} configuration.plugins.push('semantic-release-license');