diff --git a/src/get-new-version.ts b/src/get-new-version.ts index 6f3ce6e..ac1c29c 100644 --- a/src/get-new-version.ts +++ b/src/get-new-version.ts @@ -97,7 +97,9 @@ async function promptForNewVersion(operation: Operation): Promise { { value: 'minor', title: `${'minor'.padStart(PADDING, ' ')} ${bold(next.minor)}` }, { value: 'patch', title: `${'patch'.padStart(PADDING, ' ')} ${bold(next.patch)}` }, { value: 'next', title: `${'next'.padStart(PADDING, ' ')} ${bold(next.next)}` }, - { value: 'prerelease', title: `${'pre-release'.padStart(PADDING, ' ')} ${bold(next.prerelease)}` }, + { value: 'prepatch', title: `${'pre-patch'.padStart(PADDING, ' ')} ${bold(next.prepatch)}` }, + { value: 'preminor', title: `${'pre-minor'.padStart(PADDING, ' ')} ${bold(next.preminor)}` }, + { value: 'premajor', title: `${'pre-major'.padStart(PADDING, ' ')} ${bold(next.premajor)}` }, { value: 'none', title: `${'as-is'.padStart(PADDING, ' ')} ${bold(oldVersion)}` }, { value: 'custom', title: 'custom ...'.padStart(PADDING + 4, ' ') }, ],