Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: need maintain python API version when releasing

...

find . -name THIRD-PARTY.txt| xargs cat | grep -E 'BCL|Intel|JSR-275|Microsoft Limited Public License|ASL|Java SDK for Satori RTM| Redis Source Available License|RSAL|Booz Allen Public License|Creative Commons|Sun Community|GPL|Affero|LGPL|QPL|Sleepycat|Server Side|SSPL|Code Project|CPOL|BSD-4|Facebook BSD+|Solipsistic Eclipse Public|Be A Dick|JSON License' | grep -v CDDL |grep -v Apache


2.4 手动修改client-py的版本(新增内容)

手动修改 client-py/pypi/setup.py 文件中的版本号为当前发布版。


然后开始正式的发版。

3.发布版本

3.1 自动在github上打tag,并生成各种签名文件

...

例如,Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. 这个是指的有项目中的依赖的jar包版本冲突,这时候要用exclusion来进行排除。具体内容可以google。

)(如果thrift下载总是被墙,可以先手动下载下来,然后添加如下命令:

-Dthrift.download-url=http://apache.org/licenses/LICENSE-2.0.txt -Dthrift.exec.absolute.path=刚才你下载的thrift文件的本地绝对路径

)





这个过程会自动地把pom中版本的“-SNAPSHOT”删除,然后在云端创建tag。

...

对于每次发布,可以先发布RC1版本,有问题要修改的话再发布RC2版,以此类推。在投票通过前,都发布到dev下,通过后再移动到release下。

3.3.1 发布到dev下

地址是https://dist.apache.org/repos/dist/dev/incubator/iotdb

这其实是一个SVN仓库,我们在1.d1操作步骤的时候已经将这个SVN仓库下载到本地了,本地文件夹名字叫做 iotdb-dist-dev。

...