diff --git a/scripts/check-commit.js b/scripts/check-commit.js index 108edcd261..ada3a091cc 100755 --- a/scripts/check-commit.js +++ b/scripts/check-commit.js @@ -24,7 +24,7 @@ async function checkVersion() { } async function checkBranch({ current }) { - if (version.includes('-alpha.')) { + if (version.includes('-alpha.') || version.includes('-experimental.')) { console.log(chalk.cyan('😃 Alpha version. Skip branch check.')); } else if (current !== 'master' && current !== '4.0-prepare') { console.log(chalk.yellow('🤔 You are not in the master branch!'));