From da2f70426a097e77ed067f4f49ac7a418ef2190f 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/release.sh b/util/release.sh index eab3a2e8d..8496ba8b1 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,6 +454,7 @@ 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