You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/08/02 05:31:03 UTC
[echarts-www] branch master updated: not throw error when remove
files not exists
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git
The following commit(s) were added to refs/heads/master by this push:
new 8d54e73 not throw error when remove files not exists
8d54e73 is described below
commit 8d54e7382c26fea212589a8337793aefb850d1a1
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Aug 2 13:30:55 2021 +0800
not throw error when remove files not exists
---
bin/release.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/release.sh b/bin/release.sh
index 14ac86f..c3c7eb4 100644
--- a/bin/release.sh
+++ b/bin/release.sh
@@ -82,7 +82,7 @@ if [ ! -d "${handbookProjectDir}" ]; then
fi
cd ${handbookProjectDir}
npm run build:${envType}
-rm -r ${websiteTargetDir}/handbook
+rm -rf ${websiteTargetDir}/handbook
cp -R ${handbookProjectDir}/dist ${websiteTargetDir}/handbook
echo "Build handbook done."
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org