Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
59bd9886
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
59bd9886
编写于
2月 09, 2022
作者:
Z
zyyang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TS-1184]<release>: windows 32bit release script modify
上级
8a39a966
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
23 addition
and
48 deletion
+23
-48
packaging/release.bat
packaging/release.bat
+23
-8
packaging/sed_jh.bat
packaging/sed_jh.bat
+0
-20
packaging/sed_kh.bat
packaging/sed_kh.bat
+0
-20
未找到文件。
packaging/release.bat
浏览文件 @
59bd9886
...
...
@@ -6,9 +6,10 @@ cd %community_dir%
git
checkout
--
.
cd
%community_dir%
\packaging
:: %1 name %2 version
:: %1 name %2 version
%3 cpuType
if
!%
1
==
!
GOTO
USAGE
if
!%
2
==
!
GOTO
USAGE
if
!%
3
==
!
GOTO
USAGE
if
%
1
==
taos
GOTO
TAOS
if
%
1
==
power
GOTO
POWER
if
%
1
==
tq
GOTO
TQ
...
...
@@ -41,22 +42,36 @@ call sed_jh.bat %community_dir%
goto
RELEASE
:RELEASE
echo
release
windows
-client
-
64
for
%
1
,
version
:
%
2
if
not
exist
%internal_dir%
\debug\ver
-
%
2
-
64
bit
-
%
1
(
md
%internal_dir%
\debug\ver
-
%
2
-
64
bit
-
%
1
echo
release
windows
-client
for
%
1
,
version
:
%
2
,
cpyType
:
%
3
if
not
exist
%internal_dir%
\debug\ver
-
%
2
-
%
1
-
%
3
(
md
%internal_dir%
\debug\ver
-
%
2
-
%
1
-
%
3
)
else
(
rd
/S /Q
%internal_dir%
\debug\ver
-
%
2
-
64
bit
-
%
1
md
%internal_dir%
\debug\ver
-
%
2
-
64
bit
-
%
1
rd
/S /Q
%internal_dir%
\debug\ver
-
%
2
-
%
1
-
%
3
md
%internal_dir%
\debug\ver
-
%
2
-
%
1
-
%
3
)
cd
%internal_dir%
\debug\ver
-
%
2
-
64
bit
-
%
1
cd
%internal_dir%
\debug\ver
-
%
2
-
%
1
-
%
3
if
%
3
%
==
x64
GOTO
X64
if
%
3
%
==
x86
GOTO
X86
GOTO
USAGE
:X
86
call
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
x86
cmake
../../
-G
"NMake Makefiles"
-DVERNUMBER
=
%
2
-DCPUTYPE
=
x86
GOTO
MAKE_AND_INSTALL
:X
64
call
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
amd64
cmake
../../
-G
"NMake Makefiles"
-DVERNUMBER
=
%
2
-DCPUTYPE
=
x64
GOTO
MAKE_AND_INSTALL
:MAKE
_AND_INSTALL
set
CL
=
/MP
4
nmake
install
goto
EXIT0
:USAGE
echo
Usage
:
release
.bat $productName $version
echo
Usage
:
release
.bat $productName $version
$cpuType
goto
EXIT0
:EXIT
0
\ No newline at end of file
packaging/sed_jh.bat
浏览文件 @
59bd9886
...
...
@@ -17,20 +17,6 @@ set community_dir=%1
::src\util\src\tconfig.c
%sed%
-i
"s/taos\.cfg/jh_taos\.cfg/g"
%community_dir%
\src\util\src\tconfig.c
%sed%
-i
"s/etc\/taos/etc\/jh_taos/g"
%community_dir%
\src\util\src\tconfig.c
::src\kit\taosdemo\CMakeLists.txt
%sed%
-i
"s/ADD_EXECUTABLE(taosdemo/ADD_EXECUTABLE(jhdemo/g"
%community_dir%
\src\kit\taosdemo\CMakeLists.txt
%sed%
-i
"s/TARGET_LINK_LIBRARIES(taosdemo/TARGET_LINK_LIBRARIES(jhdemo/g"
%community_dir%
\src\kit\taosdemo\CMakeLists.txt
::src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo --help/jhdemo --help/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo --usage/jhdemo --usage/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/Usage: taosdemo/Usage: jhdemo/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo is simulating/jhdemo is simulating/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo version/jhdemo version/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/\"
taosdata
\
"/\"
jhdata
\
"/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/support@taosdata\.com/jhkj@njsteel\.com\.cn/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosc, rest, and stmt/jh_taos, rest, and stmt/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo uses/jhdemo uses/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/use 'taosc'/use 'jh_taos'/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
::src\util\src\tlog.c
%sed%
-i
"s/log\/taos/log\/jh_taos/g"
%community_dir%
\src\util\src\tlog.c
::src\dnode\src\dnodeSystem.c
...
...
@@ -44,12 +30,6 @@ set community_dir=%1
%sed%
-i
"s/taosinfo/jh_taosinfo/g"
%community_dir%
\src\util\src\tnote.c
::src\dnode\CMakeLists.txt
%sed%
-i
"s/taos\.cfg/jh_taos\.cfg/g"
%community_dir%
\src\dnode\CMakeLists.txt
::src\kit\taosdump\taosdump.c
%sed%
-i
"s/support@taosdata\.com/jhkj@njsteel\.com\.cn/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/Default is taosdata/Default is jhdata/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/\"
taosdata
\
"/\"
jhdata
\
"/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/TDengine/jh_iot/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/taos\/taos\.cfg/jh_taos\/jh_taos\.cfg/g"
%community_dir%
\src\kit\taosdump\taosdump.c
::src\os\src\linux\linuxEnv.c
%sed%
-i
"s/etc\/taos/etc\/jh_taos/g"
%community_dir%
\src\os\src\linux\linuxEnv.c
%sed%
-i
"s/lib\/taos/lib\/jh_taos/g"
%community_dir%
\src\os\src\linux\linuxEnv.c
...
...
packaging/sed_kh.bat
浏览文件 @
59bd9886
...
...
@@ -17,20 +17,6 @@ set community_dir=%1
::src\util\src\tconfig.c
%sed%
-i
"s/taos\.cfg/kinghistorian\.cfg/g"
%community_dir%
\src\util\src\tconfig.c
%sed%
-i
"s/etc\/taos/etc\/kinghistorian/g"
%community_dir%
\src\util\src\tconfig.c
::src\kit\taosdemo\CMakeLists.txt
%sed%
-i
"s/ADD_EXECUTABLE(taosdemo/ADD_EXECUTABLE(khdemo/g"
%community_dir%
\src\kit\taosdemo\CMakeLists.txt
%sed%
-i
"s/TARGET_LINK_LIBRARIES(taosdemo/TARGET_LINK_LIBRARIES(khdemo/g"
%community_dir%
\src\kit\taosdemo\CMakeLists.txt
::src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo --help/khdemo --help/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo --usage/khdemo --usage/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/Usage: taosdemo/Usage: khdemo/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo is simulating/khdemo is simulating/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo version/khdemo version/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/\"
taosdata
\
"/\"
khroot
\
"/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/support@taosdata\.com/support@wellintech\.com/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosc, rest, and stmt/khclient, rest, and stmt/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/taosdemo uses/khdemo uses/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
%sed%
-i
"s/use 'taosc'/use 'khclient'/g"
%community_dir%
\src\kit\taosdemo\taosdemo.c
::src\util\src\tlog.c
%sed%
-i
"s/log\/taos/log\/kinghistorian/g"
%community_dir%
\src\util\src\tlog.c
::src\dnode\src\dnodeSystem.c
...
...
@@ -44,12 +30,6 @@ set community_dir=%1
%sed%
-i
"s/taosinfo/khinfo/g"
%community_dir%
\src\util\src\tnote.c
::src\dnode\CMakeLists.txt
%sed%
-i
"s/taos\.cfg/kinghistorian\.cfg/g"
%community_dir%
\src\dnode\CMakeLists.txt
::src\kit\taosdump\taosdump.c
%sed%
-i
"s/support@taosdata\.com/support@wellintech\.com/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/Default is taosdata/Default is khroot/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/\"
taosdata
\
"/\"
khroot
\
"/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/TDengine/KingHistorian/g"
%community_dir%
\src\kit\taosdump\taosdump.c
%sed%
-i
"s/taos\/taos\.cfg/kinghistorian\/kinghistorian\.cfg/g"
%community_dir%
\src\kit\taosdump\taosdump.c
::src\os\src\linux\linuxEnv.c
%sed%
-i
"s/etc\/taos/etc\/kinghistorian/g"
%community_dir%
\src\os\src\linux\linuxEnv.c
%sed%
-i
"s/lib\/taos/lib\/kinghistorian/g"
%community_dir%
\src\os\src\linux\linuxEnv.c
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录