Skip to content

Commit

Permalink
chore(release) fix an issue while cleaning up build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Aug 14, 2023
1 parent 30019bc commit 4cee209
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions util/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 4cee209

Please sign in to comment.