From 13e0134040d64063f5f0d18aa194154864b2251d Mon Sep 17 00:00:00 2001 From: huohong <346479823@qq.com> Date: Fri, 14 Mar 2025 15:23:18 +0800 Subject: [PATCH] feat: change package tar file name feat: change package tar file name --- tools/tdgpt/script/release.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/tdgpt/script/release.sh b/tools/tdgpt/script/release.sh index 0114d60ecd..c720de35c7 100755 --- a/tools/tdgpt/script/release.sh +++ b/tools/tdgpt/script/release.sh @@ -21,7 +21,7 @@ if [ "$edition" == "enterprise" ]; then fi if [ "$edition" == "community" ]; then - productName="TDengine-community-anode" + productName="TDengine-anode" fi echo start to build release package, edition: ${edition}, version: ${version} @@ -98,7 +98,13 @@ chmod a+x ${install_dir}/install.sh # exit 1 cd ${release_dir} -pkg_name=${install_dir} +platform=`uname` +if uname -m | grep -q "x86_64"; then + arch=x64 +elif uname -m | grep -q "arm64\|aarch64"; then + arch=arm64 +fi +pkg_name=${install_dir}-${platform}-${arch} echo -e "pkg_name is: ${pkg_name}" if [ "$osType" != "Darwin" ]; then