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 da2f704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 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,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
Expand Down

0 comments on commit da2f704

Please sign in to comment.