Compare commits

...

3 Commits

Author SHA1 Message Date
zombiej
c9be44e98c chore: Update script desc 2021-05-07 17:48:28 +08:00
zombiej
6ee0a6582e bump alpha version 2021-05-07 17:42:05 +08:00
zombiej
14d49c7ee2 chore: Update script 2021-05-07 17:36:00 +08:00
2 changed files with 4 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "antd",
"version": "4.15.4",
"version": "4.16.0-alpha.0",
"description": "An enterprise-class UI design language and React components implementation",
"title": "Ant Design",
"keywords": [

View File

@@ -24,7 +24,9 @@ async function checkVersion() {
}
async function checkBranch({ current }) {
if (current !== 'master' && current !== '4.0-prepare') {
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();
}