chore: allow changelogs with breaking changes

This commit is contained in:
Daniel Roe 2024-06-19 14:16:42 +01:00
parent 4d063f1f85
commit 73fd46a4d3
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -11,7 +11,7 @@ async function main () {
const config = await loadChangelogConfig(process.cwd(), {}) const config = await loadChangelogConfig(process.cwd(), {})
const commits = await getLatestCommits().then(commits => commits.filter( const commits = await getLatestCommits().then(commits => commits.filter(
c => config.types[c.type] && !(c.type === 'chore' && c.scope === 'deps' && !c.isBreaking), c => config.types[c.type] && !(c.type === 'chore' && c.scope === 'deps'),
)) ))
const bumpType = await determineBumpType() || 'patch' const bumpType = await determineBumpType() || 'patch'