mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: allow major bumps
This commit is contained in:
parent
6ed579c781
commit
6dcbf7e3f7
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user