完成发布

本文档中的步骤,是在完成 dev@doris 或 general@incubator 邮件组中的发版投票并通过后,进行的后续步骤。

上传 package 到 release

当正式发布投票成功后,先发[Result]邮件,然后就准备 release package。 将之前在dev下发布的对应文件夹下的源码包、签名文件和hash文件拷贝到另一个目录 0.9.0-incubating,注意文件名字中不要rcxx (可以rename,但不要重新计算签名,hash可以重新计算,结果不会变)

  1. From:
  2. https://dist.apache.org/repos/dist/dev/incubator/doris/
  3. To:
  4. https://dist.apache.org/repos/dist/release/incubator/doris/

第一次发布的话 KEYS 文件也需要拷贝过来。然后add到svn release 下。

  1. add 成功后就可以在下面网址上看到你发布的文件
  2. https://dist.apache.org/repos/dist/release/incubator/doris/0.xx.0-incubating/
  3. 稍等一段时间后,能在 apache 官网看到:
  4. http://www.apache.org/dist/incubator/doris/0.9.0-incubating/

在 Doris 官网和 github 发布链接

我们以 Doris Core 为例。其他组件注意替换对应的名称。

创建下载链接

下载链接:

  1. http://www.apache.org/dyn/closer.cgi?filename=incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz&action=download
  2. wget --trust-server-names "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz"

原始位置:

  1. https://www.apache.org/dist/incubator/doris/0.9.0-incubating/
  2. http://www.apache.org/dyn/closer.cgi/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz

源码包:

  1. http://www.apache.org/dyn/closer.cgi/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz
  2. ASC:
  3. http://archive.apache.org/dist/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz.asc
  4. sha512:
  5. http://archive.apache.org/dist/incubator/doris/0.9.0-incubating/apache-doris-0.9.0-incubating-src.tar.gz.sha512

KEYS:

  1. http://archive.apache.org/dist/incubator/doris/KEYS

refer to: http://www.apache.org/dev/release-download-pages#closer完成发布 - 图1 (opens new window)

准备 release note

需要修改如下两个地方:

1、Github 的 release 页面

  1. https://github.com/apache/incubator-doris/releases/tag/0.9.0-rc01

2、Doris 官网下载页面

下载页面是一个 markdown 文件,地址如下。

  1. docs/zh-CN/downloads/downloads.md
  2. docs/en/downloads/downloads.md
  1. 需要将上一次发布版本的下载包地址改为 apache 的归档地址(见后)。
  2. 增加新版本的下载信息。

svn 上清理旧版本的包

  1. svn 上删除旧版本的包

由于 svn 只需要保存最新版本的包,所以当有新版本发布的时候,旧版本的包就应该从 svn 上清理。

  1. https://dist.apache.org/repos/dist/release/incubator/doris/
  2. https://dist.apache.org/repos/dist/dev/incubator/doris/

保持这两个地址中,只有最新版本的包即可。

  1. 将 Doris 官网的下载页面中,旧版本包的下载地址改为归档页面的地址
  1. 下载页面: http://doris.apache.org/downloads.html
  2. 归档页面: http://archive.apache.org/dist/incubator/doris

Apache 会有同步机制去将历史的发布版本进行一个归档,具体操作见:how to archive完成发布 - 图2 (opens new window) 所以即使旧的包从 svn 上清除,还是可以在归档页面中找到。

Announce 邮件

Title:

  1. [ANNOUNCE] Apache Doris (incubating) 0.9.0 Release

发送邮件组:

  1. dev@doris.apache.org

孵化器项目,还需发送到:

  1. general@incubator.apache.org

邮件正文:

  1. Hi All,
  2. We are pleased to announce the release of Apache Doris 0.9.0-incubating.
  3. Apache Doris (incubating) is an MPP-based interactive SQL data warehousing for reporting and analysis.
  4. The release is available at:
  5. http://doris.apache.org/master/zh-CN/downloads/downloads.html
  6. Thanks to everyone who has contributed to this release, and the release note can be found here:
  7. https://github.com/apache/incubator-doris/releases
  8. Best Regards,
  9. On behalf of the Doris team,
  10. xxx
  11. ---
  12. DISCLAIMER:
  13. Apache Doris (incubating) is an effort undergoing incubation at The
  14. Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC.
  15. Incubation is required of all newly accepted
  16. projects until a further review indicates that the
  17. infrastructure, communications, and decision making process have
  18. stabilized in a manner consistent with other successful ASF
  19. projects.
  20. While incubation status is not necessarily a reflection
  21. of the completeness or stability of the code, it does indicate
  22. that the project has yet to be fully endorsed by the ASF.