...
这个步骤需要使用SVN。MacOS已经默认安装了SVN。
本文以IoTDB从已有0.8.0的情况下发布0.8.1为例。
d.1 在dev分支中添加公钥到KEYS,用于发布RC版本
DEV分支的svn库是 https://dist.apache.org/repos/dist/dev/incubator/iotdb
Release分支的SVN库是 https://dist.apache.org/repos/dist/release/incubator/iotdb
命令如下:
$ svn co https://dist.apache.org/repos/dist/dev/incubator/iotdb iotdb-dist-dev
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <servers> <!-- Apache Repo Settings --> <server> <id>apache.snapshots.https</id> <username>{user-id}</username> <password>{user-pass}</password> </server> <server> <id>apache.releases.https</id> <username>{user-id}</username> <password>{user-pass}</password> </server> </servers> </settings> <profiles> <profile> <id>apache-release</id> <properties> <gpg.keyname>你的KEYID</gpg.keyname><!-- Your GPG Keyname here --> <!-- Use an agent: Prevents being asked for the password during the build --> <gpg.useagent>true</gpg.useagent> <gpg.passphrase>你的私钥的密码</gpg.passphrase> </properties> </profile> </profiles> |
f. 上传GPG公钥到Github账户s v
!!重要!! 许多教程中都没提及这一步,而如果不坐着一步的话,你在做一些步骤的时候,maven会告诉你没有权限。。!!重要!! 许多教程中都没提及这一步,而如果不做这一步的话,你在做一些步骤的时候,maven会告诉你没有权限。。
方法:
进入 https://github.com/settings/keys ,添加GPG KEYS。
...
本地的tag删除方法:
$git tag -d release/0.8.1然后把github上rel/0.8上的最新代码中的pom中的版本号降低回0.8.1-SNAPSHOT (之前mvn release:perform的时候,被自动改成了0.8.2-SNAPSHOT了)
然后使用maven插件来管理版本就好:
$ mvn release:prepare -DautoVersionSubmodules=true
当然这一步你也可以用git revert 来实现。
...
在孵化器阶段,需要发邮件给general邮件列表,交给IPMC们投票,通过后才可以。
参考例子:
Panel |
---|
Hello all,
|
投票72小时之后要做一个总结邮件:
Panel |
---|
Hi, The vote thread: https://lists.apache.org/thread.html/c6aeb4d8d36f6d188c7b9d0261138263dc8f63ad0421a8a1e16c621e@%3Cgeneral.incubator.apache.org%3E Many thanks to all who voted or provided comments! Best, |
...
The current release is a bug-fix version of 0.8.0, which will makes IoTDB more stable:
- [IOTDB-172] bug in updating startTime and endTime in TsFileResource
- Abnormal publishing of sequence and unsequence data folders in DirectoryManager
- fix a bug in TimeRange's intersects function
- [IOTDB-202] fix tsfile example data type
- [IOTDB-195] Bug about 'serializedSize' in ChunkGroupMetaData.java (for Chinese string)
- [IOTDB-242] fix mvn integration-test failed because the files in the target folder changes
Visit the Apache IoTDB website [1] for general information or
the downloads page [2] for release notes and download information.
...