Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: update command for 0.12

...

本文以IoTDB为例,介绍了IoTDB从0.11.0版本发布到0.11.1的流程,本文对于那些使用maven来管理的项目是直接适用的。

附:新增了对0.12的版本发布方法。


目录:

Table of Contents
outlinetrue

...

本文以IoTDB从已有0.11.0的情况下发布0.11.1为例。

并新增了0.12的发版内容。


d.1 在dev分支中添加公钥到KEYS,用于发布RC版本

...

$ mvn release:prepare -DautoVersionSubmodules=true -P site 

注:0.12版本中的编译命令:

mvn release:prepare -DautoVersionSubmodules=true -P site -P

...

 compile-cpp -P get-jar-with-dependencies

执行时,会让你输入三个内容:

a. 希望发布的版本号,默认值为pom中的版本号去掉“-SNAPSHOT”,一般可以不修改

...

$ mvn release:perform -P site  

0.12版本开始,命令改为:

mvn release:perform  -P site -P compile-cpp -P get-jar-with-dependencies  -P client-cppdependencies


就开始真正的发布并上传到apache的服务器了。

。。。

...

再从Iotdb源码/target/checkout/distribution/target/apache-iotdb-0.11.1-bin.zip* (zip, zip.asc, zip.sha512三个文件)拷贝进来;

(注:0.12版本的二进制文件更多)


然后用svn命令提交:

$ svn add 0.11.1

...