From 4edc491b5ecf9a75c424b46edd1c7813c37e6594 Mon Sep 17 00:00:00 2001 From: * <8> Date: Wed, 9 Nov 2022 11:51:55 +0800 Subject: [PATCH] Match-id-f3bb0b6b67b4c5d5cab6c46e87a8b6b8c6f0ee0a --- .cloudbuild/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.cloudbuild/release.sh b/.cloudbuild/release.sh index 57350246..ddb9c659 100644 --- a/.cloudbuild/release.sh +++ b/.cloudbuild/release.sh @@ -28,7 +28,8 @@ email = cloudsop@huawei.com EndOfMessage echo "==== Publish new version====" - npm publish + # npm仓库发布接口返回HTML,屏蔽错误码 + npm publish || echo 'WARNING: Parsing publish response failed' npm view @cloudsop/horizon@"${releaseVersion}" else echo "No release version, quit."