From c09342d2dc3cea1a0e52e066ea88d3747de85599 Mon Sep 17 00:00:00 2001 From: Sebastian Pekarek Date: Sun, 22 Oct 2023 12:24:52 +0200 Subject: [PATCH] build: Remove develop builds from changelog The changelog became very full and confusing with all the development builds. Therefore I decided not to include builds from the `develop` branch in the changelog anymore. --- release.config.cjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release.config.cjs b/release.config.cjs index 17cad4a..e3a96b5 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');