Skip to content

Commit f5608f0

Browse files
committed
Don't prompt for experimental releases
1 parent 5d4e1ab commit f5608f0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

scripts/version.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ async function run() {
6969
// We will only bump the router version if this is an experimental
7070
let routerVersion = currentRouterVersion;
7171

72-
// 2. Confirm the next version number
73-
let answer = await prompt(
74-
`Are you sure you want to bump version ${currentVersion} to ${version}? [Yn] `
75-
);
72+
// 2. Confirm the next version number (skip prompt on experimental CI releases)
73+
let answer = isExperimental
74+
? true
75+
: await prompt(
76+
`Are you sure you want to bump version ${currentVersion} to ${version}? [Yn] `
77+
);
7678

7779
if (answer === false) return 0;
7880

0 commit comments

Comments
 (0)