Skip to content

Commit

Permalink
chore: Update script desc
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed May 7, 2021
1 parent 6ee0a65 commit c9be44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check-commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ async function checkVersion() {
}

async function checkBranch({ current }) {
if (version.includes('.alpha-')) {
console.log(chalk.yellow('😃 Alpha version. Here we go!'));
if (version.includes('-alpha.')) {
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!'));
exitProcess();
Expand Down

0 comments on commit c9be44e

Please sign in to comment.