mirror of
https://github.com/google/blockly.git
synced 2026-01-27 10:40:09 +01:00
release: Merge branch 'develop' into rc/v11.0.0
This commit is contained in:
@@ -131,7 +131,7 @@ function updateBetaVersion(done) {
|
||||
const latestBetaVersion = execSync('npm show blockly version --tag beta').toString().trim();
|
||||
while (!isValid) {
|
||||
newVersion = readlineSync.question(`What is the new beta version? (latest beta version: ${latestBetaVersion})`);
|
||||
const existsOnNpm = blocklyVersions.indexOf(newVersion) > -1;
|
||||
const existsOnNpm = blocklyVersions.includes(newVersion);
|
||||
const isFormatted = newVersion.search(re) > -1;
|
||||
if (!existsOnNpm && isFormatted) {
|
||||
isValid = true;
|
||||
|
||||
Reference in New Issue
Block a user