Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.16 KB

更新流程.md

File metadata and controls

59 lines (43 loc) · 1.16 KB

###1.构建运行目录 . |-- first_blood_package | |-- concise_package | |-- package | |-- project_package | -- upgrade_package -- first_blood_tool `-- control.sh

###2.构建项目编译目录结构 #1.将first_blood_tool文件夹拷贝到编译目录 -- first_blood_tool |-- compile.sh |-- control.sh |-- erl |-- first_blood_version_list.txt |-- rewrite_version_and_reltool.escript |-- salt.sh |-- start.sh -- vm.args

#生成编译目录 sh compile.sh create_build_dir_struct
.
|-- first_blood_build
|   |-- first_app
|   |-- rebar.config
|   `-- rel
`-- first_blood_tool
    |-- compile.sh
    |-- control.sh
    |-- erl
    |-- first_blood_version_list.txt
    |-- rewrite_version_and_reltool.escript
    |-- salt.sh
    |-- start.sh
    `-- vm.args

###3.生成新版本 sh compile.sh generate_new_version version_num

###4.生成tar包,热更新的包 sh compile.sh generate_upgrade_tar old_version new_version

###5.停服更新包 sh compile.sh generate_consise_project project_name

###6.svnupdate sh compile.sh svn