Skip to content

Commit 0398d93

Browse files
authored
build: swap patch & major options in release stage tool (#20167)
Swap "patch" to be the first option since we do the most patch releases.
1 parent 0b5eaa8 commit 0398d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/release/prompt/new-version-prompt.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export async function promptForNewVersion(currentVersion: Version): Promise<Vers
3535
}
3636
} else {
3737
versionChoices.push(
38-
createVersionChoice(currentVersion, 'major', 'Major release'),
38+
createVersionChoice(currentVersion, 'patch', 'Patch release'),
3939
createVersionChoice(currentVersion, 'minor', 'Minor release'),
40-
createVersionChoice(currentVersion, 'patch', 'Patch release'));
40+
createVersionChoice(currentVersion, 'major', 'Major release'));
4141
}
4242

4343
// We always want to provide the option to use the current version. This is useful

0 commit comments

Comments
 (0)