chore: allow major bumps

This commit is contained in:
Daniel Roe 2024-06-19 15:46:15 +01:00
parent 6ed579c781
commit 6dcbf7e3f7
No known key found for this signature in database
GPG Key ID: 3714AB03996F442B

View File

@ -103,9 +103,7 @@ export async function determineBumpType () {
const config = await loadChangelogConfig(process.cwd()) const config = await loadChangelogConfig(process.cwd())
const commits = await getLatestCommits() const commits = await getLatestCommits()
const bumpType = determineSemverChange(commits, config) return determineSemverChange(commits, config)
return bumpType === 'major' ? 'minor' : bumpType
} }
export async function getLatestCommits () { export async function getLatestCommits () {