Merge pull request #30182 from taosdata/feat/tdgpt_package

feat: change package tar file name
This commit is contained in:
WANG Xu 2025-03-17 17:23:17 +08:00 committed by GitHub
commit 4d6a7dcc84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -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}
@ -99,7 +99,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