From 8fbd5365be1b3bc5abf9f305a56603b871e1bcbb Mon Sep 17 00:00:00 2001 From: Alina Sireneva Date: Sat, 2 Dec 2023 21:00:57 +0300 Subject: [PATCH] chore: include all breaking changes in changelog --- scripts/generate-changelog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-changelog.js b/scripts/generate-changelog.js index 12e771ab..b301fbdf 100644 --- a/scripts/generate-changelog.js +++ b/scripts/generate-changelog.js @@ -14,7 +14,7 @@ function generateChangelog(onlyPackages) { const { type, breaking } = parsed - if (!type || ['chore', 'ci', 'docs', 'test'].includes(type)) continue + if ((!type || ['chore', 'ci', 'docs', 'test'].includes(type)) && !breaking) continue const changed = findChangedFilesSince(`${commit.hash}~1`, commit.hash)