feat: change package tar file name

feat: change package tar file name
This commit is contained in:
huohong 2025-03-14 15:23:18 +08:00 committed by GitHub
parent a62b0743e9
commit 13e0134040
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}
@ -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