Skip to content

Commit

Permalink
Don't prompt for experimental releases
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jul 16, 2024
1 parent 5d4e1ab commit f5608f0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ async function run() {
// We will only bump the router version if this is an experimental
let routerVersion = currentRouterVersion;

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

if (answer === false) return 0;

Expand Down

0 comments on commit f5608f0

Please sign in to comment.