Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
f2e8ec52
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f2e8ec52
编写于
7月 19, 2021
作者:
haoranc
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify all release scripts to adding "beta" in package name
上级
76985fec
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
60 addition
and
46 deletion
+60
-46
alert/release.sh
alert/release.sh
+1
-1
packaging/deb/makedeb.sh
packaging/deb/makedeb.sh
+3
-1
packaging/docker/dockerManifest.sh
packaging/docker/dockerManifest.sh
+3
-1
packaging/docker/dockerbuild.sh
packaging/docker/dockerbuild.sh
+1
-1
packaging/rpm/makerpm.sh
packaging/rpm/makerpm.sh
+1
-1
packaging/tools/makearbi.sh
packaging/tools/makearbi.sh
+15
-11
packaging/tools/makeclient.sh
packaging/tools/makeclient.sh
+20
-17
packaging/tools/makepkg.sh
packaging/tools/makepkg.sh
+16
-13
未找到文件。
alert/release.sh
浏览文件 @
f2e8ec52
...
...
@@ -69,7 +69,7 @@ rm -rf ./TDengine-alert
pkg_name
=
TDengine-alert-
${
version
}
-
${
osType
^
}
-
${
archMap
[
${
cpuType
}
]
}
if
[
"
$verType
"
==
"beta"
]
;
then
pkg_name
=
${
pkg_name
}
-
${
verType
}
pkg_name
=
TDengine-alert-
${
version
}
-
${
verType
}
-
${
osType
^
}
-
${
archMap
[
${
cpuType
}
]
}
elif
[
"
$verType
"
==
"stable"
]
;
then
pkg_name
=
${
pkg_name
}
else
...
...
packaging/deb/makedeb.sh
浏览文件 @
f2e8ec52
...
...
@@ -123,7 +123,7 @@ else
fi
if
[
"
$verType
"
==
"beta"
]
;
then
debname
=
${
debname
}
-
${
ver
Type
}
".deb"
debname
=
"TDengine-server-"
${
tdengine_ver
}
-
${
verType
}
-
${
osType
}
-
${
cpu
Type
}
".deb"
elif
[
"
$verType
"
==
"stable"
]
;
then
debname
=
${
debname
}
".deb"
else
...
...
@@ -131,6 +131,8 @@ else
exit
1
fi
# make deb package
dpkg
-b
${
pkg_dir
}
$debname
echo
"make deb package success!"
...
...
packaging/docker/dockerManifest.sh
浏览文件 @
f2e8ec52
...
...
@@ -49,12 +49,14 @@ if [ "$verType" == "beta" ]; then
docker login
-u
tdengine
-p
${
passWord
}
#replace the docker registry username and password
docker manifest push tdengine/tdengine-beta:latest
docker manifest push tdengine/tdengine-beta:
${
version
}
elif
[
"
$verType
"
==
"stable"
]
;
then
docker manifest create
-a
tdengine/tdengine:
${
version
}
tdengine/tdengine-amd64:
${
version
}
tdengine/tdengine-aarch64:
${
version
}
tdengine/tdengine-aarch32:
${
version
}
docker manifest create
-a
tdengine/tdengine:latest tdengine/tdengine-amd64:latest tdengine/tdengine-aarch64:latest tdengine/tdengine-aarch32:latest
docker login
-u
tdengine
-p
${
passWord
}
#replace the docker registry username and password
docker manifest push tdengine/tdengine:latest
docker manifest push tdengine/tdengine:
${
version
}
docker manifest push tdengine/tdengine:
${
version
}
else
echo
"unknow verType, nor stabel or beta"
exit
1
...
...
packaging/docker/dockerbuild.sh
浏览文件 @
f2e8ec52
...
...
@@ -16,7 +16,7 @@ cpuType=""
version
=
""
passWord
=
""
pkgFile
=
""
verType
=
""
verType
=
"
stable
"
while
getopts
"hc:n:p:f:V:"
arg
do
...
...
packaging/rpm/makerpm.sh
浏览文件 @
f2e8ec52
...
...
@@ -73,7 +73,7 @@ else
fi
if
[
"
$verType
"
==
"beta"
]
;
then
rpmname
=
${
rpmname
}
-
${
ver
Type
}
".rpm"
rpmname
=
"TDengine-server-"
${
tdengine_ver
}
-
${
verType
}
-
${
osType
}
-
${
cpu
Type
}
".rpm"
elif
[
"
$verType
"
==
"stable"
]
;
then
rpmname
=
${
rpmname
}
".rpm"
else
...
...
packaging/tools/makearbi.sh
浏览文件 @
f2e8ec52
...
...
@@ -47,24 +47,28 @@ mkdir -p ${install_dir}/init.d && cp ${init_file_tarbitrator_rpm} ${install_dir}
cd
${
release_dir
}
if
[
"
$verMode
"
==
"cluster"
]
;
then
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
elif
[
"
$verMode
"
==
"edge"
]
;
then
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
else
echo
"unknow verMode, nor cluster or edge"
exit
1
fi
# install_dir has been distinguishes cluster from edege, so comments this code
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
# if [ "$verMode" == "cluster" ]; then
# pkg_name=${install_dir}-${osType}-${cpuType}
# elif [ "$verMode" == "edge" ]; then
# pkg_name=${install_dir}-${osType}-${cpuType}
# else
# echo "unknow verMode, nor cluster or edge"
# exit 1
# fi
if
[
"
$verType
"
==
"beta"
]
;
then
pkg_name
=
${
pkg_name
}
-
${
verType
}
elif
[
"
$verType
"
==
"stable"
]
;
then
pkg_name
=
${
pkg_name
}
pkg_name
=
${
install_dir
}
-
${
verType
}
-
${
osType
}
-
${
cpuType
}
elif
[
"
$verType
"
==
"stable"
]
;
then
pkg_name
=
${
pkg_name
}
else
echo
"unknow verType, nor stabel or beta"
exit
1
fi
tar
-zcv
-f
"
$(
basename
${
pkg_name
}
)
.tar.gz"
$(
basename
${
install_dir
}
)
--remove-files
||
:
exitcode
=
$?
if
[
"
$exitcode
"
!=
"0"
]
;
then
...
...
packaging/tools/makeclient.sh
浏览文件 @
f2e8ec52
...
...
@@ -41,10 +41,10 @@ fi
if
[
"
$osType
"
!=
"Darwin"
]
;
then
if
[
"
$pagMode
"
==
"lite"
]
;
then
#strip ${build_dir}/bin/taosd
#strip ${build_dir}/bin/taosd
strip
${
build_dir
}
/bin/taos
bin_files
=
"
${
build_dir
}
/bin/taos
${
script_dir
}
/remove_client.sh"
else
else
bin_files
=
"
${
build_dir
}
/bin/taos
${
build_dir
}
/bin/taosdump
${
build_dir
}
/bin/taosdemo
\
${
script_dir
}
/remove_client.sh
${
script_dir
}
/set_core.sh
${
script_dir
}
/get_client.sh
${
script_dir
}
/taosd-dump-cfg.gdb"
fi
...
...
@@ -139,7 +139,7 @@ if [[ "$pagMode" != "lite" ]] && [[ "$cpuType" != "aarch32" ]]; then
cp
-r
${
examples_dir
}
/C#
${
install_dir
}
/examples
fi
# Copy driver
mkdir
-p
${
install_dir
}
/driver
mkdir
-p
${
install_dir
}
/driver
cp
${
lib_files
}
${
install_dir
}
/driver
# Copy connector
...
...
@@ -168,30 +168,33 @@ fi
# exit 1
cd
${
release_dir
}
cd
${
release_dir
}
if
[
"
$verMode
"
==
"cluster"
]
;
then
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
elif
[
"
$verMode
"
==
"edge"
]
;
then
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
else
echo
"unknow verMode, nor cluster or edge"
exit
1
fi
# install_dir has been distinguishes cluster from edege, so comments this code
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
if
[
"
$pagMode
"
==
"lite"
]
;
then
pkg_name
=
${
pkg_name
}
-Lite
fi
# if [ "$verMode" == "cluster" ]; then
# pkg_name=${install_dir}-${osType}-${cpuType}
# elif [ "$verMode" == "edge" ]; then
# pkg_name=${install_dir}-${osType}-${cpuType}
# else
# echo "unknow verMode, nor cluster or edge"
# exit 1
# fi
if
[
"
$verType
"
==
"beta"
]
;
then
pkg_name
=
${
pkg_name
}
-
${
verType
}
pkg_name
=
${
install_dir
}
-
${
verType
}
-
${
osType
}
-
${
cpuType
}
elif
[
"
$verType
"
==
"stable"
]
;
then
pkg_name
=
${
pkg_name
}
else
echo
"unknow verType, nor stab
le
or beta"
echo
"unknow verType, nor stab
el
or beta"
exit
1
fi
if
[
"
$pagMode
"
==
"lite"
]
;
then
pkg_name
=
${
pkg_name
}
-Lite
fi
if
[
"
$osType
"
!=
"Darwin"
]
;
then
tar
-zcv
-f
"
$(
basename
${
pkg_name
}
)
.tar.gz"
$(
basename
${
install_dir
}
)
--remove-files
||
:
else
...
...
packaging/tools/makepkg.sh
浏览文件 @
f2e8ec52
...
...
@@ -203,21 +203,20 @@ fi
cd
${
release_dir
}
if
[
"
$verMode
"
==
"cluster"
]
;
then
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
elif
[
"
$verMode
"
==
"edge"
]
;
then
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
else
echo
"unknow verMode, nor cluster or edge"
exit
1
fi
if
[
"
$pagMode
"
==
"lite"
]
;
then
pkg_name
=
${
pkg_name
}
-Lite
fi
# install_dir has been distinguishes cluster from edege, so comments this code
pkg_name
=
${
install_dir
}
-
${
osType
}
-
${
cpuType
}
# if [ "$verMode" == "cluster" ]; then
# pkg_name=${install_dir}-${osType}-${cpuType}
# elif [ "$verMode" == "edge" ]; then
# pkg_name=${install_dir}-${osType}-${cpuType}
# else
# echo "unknow verMode, nor cluster or edge"
# exit 1
# fi
if
[
"
$verType
"
==
"beta"
]
;
then
pkg_name
=
${
pkg_name
}
-
${
verType
}
pkg_name
=
${
install_dir
}
-
${
verType
}
-
${
osType
}
-
${
cpuType
}
elif
[
"
$verType
"
==
"stable"
]
;
then
pkg_name
=
${
pkg_name
}
else
...
...
@@ -225,6 +224,10 @@ else
exit
1
fi
if
[
"
$pagMode
"
==
"lite"
]
;
then
pkg_name
=
${
pkg_name
}
-Lite
fi
tar
-zcv
-f
"
$(
basename
${
pkg_name
}
)
.tar.gz"
$(
basename
${
install_dir
}
)
--remove-files
||
:
exitcode
=
$?
if
[
"
$exitcode
"
!=
"0"
]
;
then
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录