diff --git a/scripts/update-changelog.ts b/scripts/update-changelog.ts index a477d0d7..bc4ccc7c 100644 --- a/scripts/update-changelog.ts +++ b/scripts/update-changelog.ts @@ -15,7 +15,7 @@ async function main () { )) const bumpType = await determineBumpType() - const newVersion = inc(workspace.find('@nuxt/bridge').data.version, 'prerelease', 'rc') + const newVersion = inc(workspace.find('@nuxt/bridge').data.version, bumpType || 'patch') const changelog = await generateMarkDown(commits, config) // Create and push a branch with bumped versions if it has not already been created