chore: allow changelogs with breaking changes

This commit is contained in:
Daniel Roe 2024-06-19 14:16:42 +01:00
parent 77685e43e4
commit e115871892
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'