mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
chore: update check-commit
This commit is contained in:
parent
2d3b034ad4
commit
39b5d580b1
@ -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!'));
|
||||
|
Loading…
Reference in New Issue
Block a user