未验证 提交 0fd1e00c 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #11100 from taosdata/release/ver-2.4.0.14

[TS-1373]<release>: release script modify
...@@ -4,7 +4,7 @@ PROJECT(TDengine) ...@@ -4,7 +4,7 @@ PROJECT(TDengine)
IF (DEFINED VERNUMBER) IF (DEFINED VERNUMBER)
SET(TD_VER_NUMBER ${VERNUMBER}) SET(TD_VER_NUMBER ${VERNUMBER})
ELSE () ELSE ()
SET(TD_VER_NUMBER "2.4.0.10") SET(TD_VER_NUMBER "2.4.0.14")
ENDIF () ENDIF ()
IF (DEFINED VERCOMPATIBLE) IF (DEFINED VERCOMPATIBLE)
......
...@@ -38,6 +38,12 @@ fi ...@@ -38,6 +38,12 @@ fi
if [[ -e packaging/tools/uninstall-prodbtools.sh ]]; then if [[ -e packaging/tools/uninstall-prodbtools.sh ]]; then
rm -f packaging/tools/uninstall-prodbtools.sh rm -f packaging/tools/uninstall-prodbtools.sh
fi fi
if [[ -e packaging/tools/install-powertools.sh ]]; then
rm -f packaging/tools/install-powertools.sh
fi
if [[ -e packaging/tools/uninstall-powertools.sh ]]; then
rm -f packaging/tools/uninstall-powertools.sh
fi
rm -rf $COMMUNITY_DIR/debug/* rm -rf $COMMUNITY_DIR/debug/*
rm -rf $COMMUNITY_DIR/release/* rm -rf $COMMUNITY_DIR/release/*
......
...@@ -22,23 +22,33 @@ GOTO USAGE ...@@ -22,23 +22,33 @@ GOTO USAGE
goto RELEASE goto RELEASE
:POWER :POWER
cd %internal_dir%\enterprise\packaging\oem
call sed_power.bat %community_dir% call sed_power.bat %community_dir%
cd %community_dir%\packaging
goto RELEASE goto RELEASE
:TQ :TQ
cd %internal_dir%\enterprise\packaging\oem
call sed_tq.bat %community_dir% call sed_tq.bat %community_dir%
cd %community_dir%\packaging
goto RELEASE goto RELEASE
:PRO :PRO
cd %internal_dir%\enterprise\packaging\oem
call sed_pro.bat %community_dir% call sed_pro.bat %community_dir%
cd %community_dir%\packaging
goto RELEASE goto RELEASE
:KH :KH
cd %internal_dir%\enterprise\packaging\oem
call sed_kh.bat %community_dir% call sed_kh.bat %community_dir%
cd %community_dir%\packaging
goto RELEASE goto RELEASE
:JH :JH
cd %internal_dir%\enterprise\packaging\oem
call sed_jh.bat %community_dir% call sed_jh.bat %community_dir%
cd %community_dir%\packaging
goto RELEASE goto RELEASE
:RELEASE :RELEASE
......
...@@ -60,7 +60,7 @@ if [ "$pagMode" == "lite" ]; then ...@@ -60,7 +60,7 @@ if [ "$pagMode" == "lite" ]; then
strip ${build_dir}/bin/${serverName} strip ${build_dir}/bin/${serverName}
strip ${build_dir}/bin/${clientName} strip ${build_dir}/bin/${clientName}
# lite version doesn't include taosadapter, which will lead to no restful interface # lite version doesn't include taosadapter, which will lead to no restful interface
bin_files="${build_dir}/bin/${serverName} ${build_dir}/bin/${clientName} ${script_dir}/remove.sh ${script_dir}/startPre.sh ${build_dir}/bin/taosBenchmark" bin_files="${build_dir}/bin/${serverName} ${build_dir}/bin/${clientName} ${script_dir}/remove.sh ${script_dir}/startPre.sh ${build_dir}/bin/${benchmarkName}"
taostools_bin_files="" taostools_bin_files=""
else else
...@@ -68,8 +68,8 @@ else ...@@ -68,8 +68,8 @@ else
&& echo "TDinsight.sh downloaded!" \ && echo "TDinsight.sh downloaded!" \
|| echo "failed to download TDinsight.sh" || echo "failed to download TDinsight.sh"
taostools_bin_files=" ${build_dir}/bin/taosdump \ taostools_bin_files=" ${build_dir}/bin/${dumpName} \
${build_dir}/bin/taosBenchmark \ ${build_dir}/bin/${benchmarkName} \
${build_dir}/bin/TDinsight.sh " ${build_dir}/bin/TDinsight.sh "
bin_files="${build_dir}/bin/${serverName} \ bin_files="${build_dir}/bin/${serverName} \
...@@ -153,22 +153,22 @@ if [ -n "${taostools_bin_files}" ]; then ...@@ -153,22 +153,22 @@ if [ -n "${taostools_bin_files}" ]; then
&& cp ${taostools_bin_files} ${taostools_install_dir}/bin \ && cp ${taostools_bin_files} ${taostools_install_dir}/bin \
&& chmod a+x ${taostools_install_dir}/bin/* || : && chmod a+x ${taostools_install_dir}/bin/* || :
if [ -f ${top_dir}/src/kit/taos-tools/packaging/tools/install-taostools.sh ]; then if [ -f ${top_dir}/src/kit/taos-tools/packaging/tools/install-${toolsName}.sh ]; then
cp ${top_dir}/src/kit/taos-tools/packaging/tools/install-taostools.sh \ cp ${top_dir}/src/kit/taos-tools/packaging/tools/install-${toolsName}.sh \
${taostools_install_dir}/ > /dev/null \ ${taostools_install_dir}/ > /dev/null \
&& chmod a+x ${taostools_install_dir}/install-taostools.sh \ && chmod a+x ${taostools_install_dir}/install-${toolsName}.sh \
|| echo -e "failed to copy install-taostools.sh" || echo -e "failed to copy install-${toolsName}.sh"
else else
echo -e "install-taostools.sh not found" echo -e "install-${toolsName}.sh not found"
fi fi
if [ -f ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-taostools.sh ]; then if [ -f ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-${toolsName}.sh ]; then
cp ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-taostools.sh \ cp ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-${toolsName}.sh \
${taostools_install_dir}/ > /dev/null \ ${taostools_install_dir}/ > /dev/null \
&& chmod a+x ${taostools_install_dir}/uninstall-taostools.sh \ && chmod a+x ${taostools_install_dir}/uninstall-${toolsName}.sh \
|| echo -e "failed to copy uninstall-taostools.sh" || echo -e "failed to copy uninstall-${toolsName}.sh"
else else
echo -e "uninstall-taostools.sh not found" echo -e "uninstall-${toolsName}.sh not found"
fi fi
if [ -f ${build_dir}/lib/libavro.so.23.0.0 ]; then if [ -f ${build_dir}/lib/libavro.so.23.0.0 ]; then
......
name: tdengine name: tdengine
base: core20 base: core20
version: '2.4.0.10' version: '2.4.0.14'
icon: snap/gui/t-dengine.svg icon: snap/gui/t-dengine.svg
summary: an open-source big data platform designed and optimized for IoT. summary: an open-source big data platform designed and optimized for IoT.
description: | description: |
......
...@@ -1215,7 +1215,7 @@ static int32_t getIntersectionOfTableTuple(SQueryInfo* pQueryInfo, SSqlObj* pPar ...@@ -1215,7 +1215,7 @@ static int32_t getIntersectionOfTableTuple(SQueryInfo* pQueryInfo, SSqlObj* pPar
// sort according to the tag value // sort according to the tag value
size_t num = taosArrayGetSize(ctxlist[i].res); size_t num = taosArrayGetSize(ctxlist[i].res);
int32_t ret = tidTagsMergeSort(ctxlist[i].res, 0, num - 1, size); int32_t ret = tidTagsMergeSort(ctxlist[i].res, 0, ((int32_t)num) - 1, size);
if (ret != TSDB_CODE_SUCCESS) { if (ret != TSDB_CODE_SUCCESS) {
return TSDB_CODE_TSC_OUT_OF_MEMORY; return TSDB_CODE_TSC_OUT_OF_MEMORY;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册