Skip to content

Commit

Permalink
build-release.sh: cleanup dist before making dist
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonglm committed Nov 14, 2019
1 parent 022cb98 commit 6e5d84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build_dist() {
echo "- Building platform: ${ALIAS} (" "${BUILD_ENV[@]}" "go build" "${BUILD_ARGS[@]}" ")"

# Clean out any old remnants of failed builds.
rm -rf "dist/$DIR"
rm -rf "dist"
mkdir -p "dist/$DIR"

# Subshell to not mess with the current env vars or CWD
Expand Down

0 comments on commit 6e5d84f

Please sign in to comment.