Match-id-2de33c120aff072a30d6741ea2e9b135126dec08

This commit is contained in:
* 2022-11-09 11:11:23 +08:00 committed by *
parent b2c44570fe
commit 3941245f12
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@
if [ -n "${releaseVersion}" ] ; then
echo "==== Horizon Upgrade ${releaseVersion} ===="
cd ../build/horizon || exit 1
cd ./build/horizon || { echo 'ERROR: Build directory not found' ; exit 1; }
# 写入新版本号
npm version "${releaseVersion}"
cat >.npmrc <<- EndOfMessage
registry=https://cmc.centralrepo.rnd.huawei.com/npm