From 4cee209fdcd17768977590300a32619915be3173 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Mon, 14 Aug 2023 08:26:38 -0700 Subject: [PATCH] chore(release) fix an issue while cleaning up build dir --- util/release.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/util/release.sh b/util/release.sh index eab3a2e8d..6ea5058a7 100755 --- a/util/release.sh +++ b/util/release.sh @@ -371,8 +371,6 @@ release_bin() { fatal "$SCRIPT_NAME missing zlib version for static build" fi - rm -rf $DIR_DIST_WORK/*/ - notice "Building $arch binary..." if [ "$(get_distro)" = "centos7" ]; then @@ -456,13 +454,13 @@ release_all_bin_docker() { # main +rm -rf $DIR_DIST_WORK/*/ mkdir -p $DIR_DIST_WORK $DIR_DIST_OUT $DIR_DIST_SRC pushd $DIR_DIST_WORK # prepare sources -rm -rf $DIR_DIST_SRC/* cp -R \ $NGX_WASM_DIR/rust-toolchain \ $NGX_WASM_DIR/Makefile \