This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 2332c5a12ba branch-3.0: [chore](build) put tools in release package
#44216 (#44323)
2332c5a12ba is described below
commit 2332c5a12ba2c2be88df59d0871442477cb56e8e
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Nov 20 14:57:23 2024 +0800
branch-3.0: [chore](build) put tools in release package #44216 (#44323)
Cherry-picked from #44216
Co-authored-by: Yongqiang YANG <[email protected]>
---
build-for-release.sh | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/build-for-release.sh b/build-for-release.sh
index 2347f9ebaab..41580c91a00 100755
--- a/build-for-release.sh
+++ b/build-for-release.sh
@@ -128,6 +128,7 @@ FE="fe"
BE="be"
CLOUD="ms"
EXT="extensions"
+TOOLS="tools"
PACKAGE="apache-doris-${VERSION}-bin-${ARCH}"
if [[ "${_USE_AVX2}" == "0" ]]; then
@@ -139,6 +140,7 @@ OUTPUT_FE="${OUTPUT}/${FE}"
OUTPUT_EXT="${OUTPUT}/${EXT}"
OUTPUT_BE="${OUTPUT}/${BE}"
OUTPUT_CLOUD="${OUTPUT}/${CLOUD}"
+OUTPUT_TOOLS="${OUTPUT}/${TOOLS}"
echo "Package Name:"
echo "FE: ${OUTPUT_FE}"
@@ -152,7 +154,7 @@ sh build.sh --clean &&
echo "Begin to pack"
rm -rf "${OUTPUT}"
-mkdir -p "${OUTPUT_FE}" "${OUTPUT_BE}" "${OUTPUT_EXT}" "${OUTPUT_CLOUD}"
+mkdir -p "${OUTPUT_FE}" "${OUTPUT_BE}" "${OUTPUT_EXT}" "${OUTPUT_CLOUD}"
"${OUTPUT_TOOLS}"
# FE
cp -R "${ORI_OUTPUT}"/fe/* "${OUTPUT_FE}"/
@@ -177,5 +179,8 @@ if [[ "${TAR}" -eq 1 ]]; then
cd -
fi
+# TOOL
+cp -R "${ORI_OUTPUT}"/tools/* "${OUTPUT_TOOLS}"/
+
echo "Output dir: ${OUTPUT}"
exit 0
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]