From 32bcd9a810f150c48fa2235f55989a73c3bad4e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=9B=E7=9A=93?= Date: Tue, 5 Jan 2021 14:43:56 +0800 Subject: [PATCH] chore: 1.0.28 --- lerna.json | 2 +- packages/editor-preset-vision/scripts/version.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lerna.json b/lerna.json index 76331a7e3..afafeea25 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "lerna": "2.11.0", - "version": "1.0.28-beta.2", + "version": "1.0.28", "npmClient": "tyarn", "registry": "http://registry.npm.alibaba-inc.com", "useWorkspaces": true, diff --git a/packages/editor-preset-vision/scripts/version.js b/packages/editor-preset-vision/scripts/version.js index 7223815d1..57723de1d 100644 --- a/packages/editor-preset-vision/scripts/version.js +++ b/packages/editor-preset-vision/scripts/version.js @@ -9,7 +9,8 @@ const reBranchVersion = /^(?:[a-z]+\/)(\d+\.\d+\.\d+)$/im; const match = reBranchVersion.exec(gitBranchName); if (!match) { - throw new Error(`[checkversion] gitBranchName: ${gitBranchName}`); + console.warn(`[checkversion] gitBranchName: ${gitBranchName}`); + return; } const releaseVersion = match[1];