Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: bring back preminor and premajor
  • Loading branch information
antfu committed Jun 15, 2022
1 parent f1ee65a commit 06c4fd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/get-new-version.ts
Expand Up @@ -97,7 +97,9 @@ async function promptForNewVersion(operation: Operation): Promise<Operation> {
{ 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, ' ') },
],
Expand Down

0 comments on commit 06c4fd8

Please sign in to comment.