Complete release

The steps in this document follow after the release has been voted on and approved in the dev@doris or general@incubator mail groups.

Upload package to release

When the official release poll is successful, send the [Result] email first, then prepare the release package. Copy the source package, signature file and hash file from the corresponding folder of the previous release under dev to another directory 0.9.0-incubating, note that the file name should not be rcxx (you can rename, but do not recalculate the signature, the hash can be recalculated, the result will not change)

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

For the first release, you need to copy the KEYS file as well. Then add it to the 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/

Post links on Doris official website and github

We will use Doris Core as an example. For other components, replace the name with the corresponding one.

Download Link:

  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"

Original Location:

  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

Ssource package:

  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#closerComplete Release - 图1 (opens new window)

Prepare the release note

The following two places need to be modified.

  1. Github’s release page
  1. https://github.com/apache/incubator-doris/releases/tag/0.9.0-rc01

2、Doris official website download page

The download page is a markdown file with the following address.

  1. docs/zh-cn/downloads/downloads.md
  2. docs/en/downloads/downloads.md
  1. you need to change the download package address of the last release to the archive address of apache (see later).
  2. Add the download information for the new version.

Clean up old versions of packages on svn

  1. Deleting old packages on svn

Since svn only needs to keep the latest version of packages, old versions of packages should be cleaned from svn when a new version is released.

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

Keep these two addresses with only the latest package versions. 2.

  1. Change the download address of the older packages on the official Doris website to the address of the archive page
  1. Download page: http://doris.apache.org/downloads.html
  2. Archive page: http://archive.apache.org/dist/incubator/doris

Apache has a synchronization mechanism to archive the history of releases, see how to archiveComplete Release - 图2 (opens new window) So even if an old package is removed from svn, it can still be found on the archive page.

Announce

Title:

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

To mail:

  1. dev@doris.apache.org

Incubator projects, which also need to be sent to:

  1. general@incubator.apache.org

Email body:

  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.