You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2018/08/26 05:42:29 UTC

[incubator-dubbo-website] 02/04: Update prepare an apache release doc.

This is an automated email from the ASF dual-hosted git repository.

huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git

commit aa5e74909f919e7f1bb0c7789a8a35d7faf9f4a1
Author: Huxing Zhang <hu...@gmail.com>
AuthorDate: Sun Aug 26 13:14:46 2018 +0800

    Update prepare an apache release doc.
---
 en-us/blog/prepare-an-apache-release.html | 19 ++++++++++++++-----
 en-us/blog/prepare-an-apache-release.json |  2 +-
 zh-cn/blog/prepare-an-apache-release.html | 24 +++++++++++++++++++-----
 zh-cn/blog/prepare-an-apache-release.json |  2 +-
 4 files changed, 35 insertions(+), 12 deletions(-)

diff --git a/en-us/blog/prepare-an-apache-release.html b/en-us/blog/prepare-an-apache-release.html
index fa74526..e6b9df2 100644
--- a/en-us/blog/prepare-an-apache-release.html
+++ b/en-us/blog/prepare-an-apache-release.html
@@ -12,7 +12,7 @@
 	<link rel="stylesheet" href="/build/blogDetail.css" />
 </head>
 <body>
-	<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="-1692158055"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/en-us/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><span class="language-switch language-switch-normal" data-reactid="6">中</span><div class="header-menu" data-reactid="7"><img class="header-menu-to [...]
+	<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="1334346778"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/en-us/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><span class="language-switch language-switch-normal" data-reactid="6">中</span><div class="header-menu" data-reactid="7"><img class="header-menu-tog [...]
 <p>In general, Source Release is the key and the required content of Apache. But Binary Release is optional, Dubbo can choose whether to release binary packages to the Apache repository or to the Maven central repository.</p>
 <p>Please refer to the following links for more information on ASF's release guide:</p>
 <ul>
@@ -223,16 +223,18 @@ run:
 <ol>
 <li>Check signatures and hashes are good</li>
 </ol>
-<pre><code class="language-sh">sha512 dubbo-incubating-<span class="hljs-variable">${release_version}</span>-bin-release.zip.sha512
-sha512 dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip.sha512
+<pre><code class="language-sh">shasum -c apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip.sha512
+shasum -c apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-bin-release.zip.sha512
+gpg2 --keyserver pgpkeys.mit.edu --recv-key 208B0AB1D63011C7
+gpg2 --verify apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip.asc apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip
 </code></pre>
 <ol start="2">
-<li>Unzip dubbo-incubating-${release_version}-source-release.zip to the default directory and check the following:</li>
+<li>Unzip apache-dubbo-incubating-${release_version}-source-release.zip to the default directory and check the following:</li>
 </ol>
 <ul>
 <li>
 <p>Directory with 'incubating' in name
-<code>dubbo-incubating-${release_version}-bin-release</code></p>
+<code>apache-dubbo-incubating-${release_version}-bin-release</code></p>
 </li>
 <li>
 <p>DISCLAIMER exists</p>
@@ -260,6 +262,13 @@ mvn clean install -Drat.skip=<span class="hljs-literal">false</span> -Dcheckstyl
 <p>Release candidates match with corresponding tags, you can find tag link and hash in vote email.</p>
 </li>
 </ul>
+<ol start="3">
+<li>Unzip apache-dubbo-incubating-${release_version}-bin-release.zip and check:</li>
+</ol>
+<ul>
+<li>'incubating' in name</li>
+<li>LICENSE and NOTICE exists and contents are good</li>
+</ul>
 <h2>Begin voting</h2>
 <p>The voting is divided into two phases:</p>
 <ol>
diff --git a/en-us/blog/prepare-an-apache-release.json b/en-us/blog/prepare-an-apache-release.json
index df0f7bf..e273407 100644
--- a/en-us/blog/prepare-an-apache-release.json
+++ b/en-us/blog/prepare-an-apache-release.json
@@ -1,4 +1,4 @@
 {
   "filename": "prepare-an-apache-release.md",
-  "__html": "<h2>Understanding the Apache Release Cycle</h2>\n<p>In general, Source Release is the key and the required content of Apache. But Binary Release is optional, Dubbo can choose whether to release binary packages to the Apache repository or to the Maven central repository.</p>\n<p>Please refer to the following links for more information on ASF's release guide:</p>\n<ul>\n<li><a href=\"http://www.apache.org/dev/release-publishing\">Apache Release Guide</a></li>\n<li><a href=\"ht [...]
+  "__html": "<h2>Understanding the Apache Release Cycle</h2>\n<p>In general, Source Release is the key and the required content of Apache. But Binary Release is optional, Dubbo can choose whether to release binary packages to the Apache repository or to the Maven central repository.</p>\n<p>Please refer to the following links for more information on ASF's release guide:</p>\n<ul>\n<li><a href=\"http://www.apache.org/dev/release-publishing\">Apache Release Guide</a></li>\n<li><a href=\"ht [...]
 }
\ No newline at end of file
diff --git a/zh-cn/blog/prepare-an-apache-release.html b/zh-cn/blog/prepare-an-apache-release.html
index fd133cf..6011253 100644
--- a/zh-cn/blog/prepare-an-apache-release.html
+++ b/zh-cn/blog/prepare-an-apache-release.html
@@ -12,7 +12,7 @@
 	<link rel="stylesheet" href="/build/blogDetail.css" />
 </head>
 <body>
-	<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="-1583593522"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/zh-cn/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><span class="language-switch language-switch-normal" data-reactid="6">En</span><div class="header-menu" data-reactid="7"><img class="header-menu-t [...]
+	<div id="root"><div class="blog-detail-page" data-reactroot="" data-reactid="1" data-react-checksum="1869382422"><header class="header-container header-container-normal" data-reactid="2"><div class="header-body" data-reactid="3"><a href="/zh-cn/index.html" data-reactid="4"><img class="logo" src="/img/dubbo_colorful.png" data-reactid="5"/></a><span class="language-switch language-switch-normal" data-reactid="6">En</span><div class="header-menu" data-reactid="7"><img class="header-menu-to [...]
 <p>总的来说,Source Release是Apache关注的重点,也是发布的必须内容;而Binary Release是可选项,Dubbo可以选择是否发布二进制包到Apache仓库或者发布到Maven中央仓库。</p>
 <p>请参考以下链接,找到更多关于ASF的发布指南:</p>
 <ul>
@@ -220,16 +220,18 @@ default-key 28681CB1
 <ol>
 <li>Check signatures and hashes are good</li>
 </ol>
-<pre><code class="language-sh">sha512 dubbo-incubating-<span class="hljs-variable">${release_version}</span>-bin-release.zip.sha512
-sha512 dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip.sha512
+<pre><code class="language-sh">shasum -c apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip.sha512
+shasum -c apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-bin-release.zip.sha512
+gpg2 --keyserver pgpkeys.mit.edu --recv-key 208B0AB1D63011C7
+gpg2 --verify apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip.asc apache-dubbo-incubating-<span class="hljs-variable">${release_version}</span>-<span class="hljs-built_in">source</span>-release.zip
 </code></pre>
 <ol start="2">
-<li>Unzip dubbo-incubating-${release_version}-source-release.zip to the default directory and check the following:</li>
+<li>Unzip apache-dubbo-incubating-${release_version}-source-release.zip to the default directory and check the following:</li>
 </ol>
 <ul>
 <li>
 <p>Directory with 'incubating' in name
-<code>dubbo-incubating-${release_version}-bin-release</code></p>
+<code>apache-dubbo-incubating-${release_version}-bin-release</code></p>
 </li>
 <li>
 <p>DISCLAIMER exists</p>
@@ -255,8 +257,20 @@ mvn clean install -Drat.skip=<span class="hljs-literal">false</span> -Dcheckstyl
 </li>
 <li>
 <p>Release candidates match with corresponding tags, you can find tag link and hash in vote email.</p>
+<ul>
+<li>check the version number in pom.xml are the same</li>
+<li>check there are no extra files or directories in the source package, such no empty directories or useless log files.</li>
+<li>check the top n tag commits, dive into the related files and check if the source package has the same changes</li>
+</ul>
 </li>
 </ul>
+<ol start="3">
+<li>Unzip apache-dubbo-incubating-${release_version}-bin-release.zip and check:</li>
+</ol>
+<ul>
+<li>'incubating' in name</li>
+<li>LICENSE and NOTICE exists and contents are good</li>
+</ul>
 <h2>进入投票</h2>
 <p>投票分两个阶段:</p>
 <ol>
diff --git a/zh-cn/blog/prepare-an-apache-release.json b/zh-cn/blog/prepare-an-apache-release.json
index af485b6..4305f0a 100644
--- a/zh-cn/blog/prepare-an-apache-release.json
+++ b/zh-cn/blog/prepare-an-apache-release.json
@@ -1,4 +1,4 @@
 {
   "filename": "prepare-an-apache-release.md",
-  "__html": "<h2>理解Apache发布的内容和流程</h2>\n<p>总的来说,Source Release是Apache关注的重点,也是发布的必须内容;而Binary Release是可选项,Dubbo可以选择是否发布二进制包到Apache仓库或者发布到Maven中央仓库。</p>\n<p>请参考以下链接,找到更多关于ASF的发布指南:</p>\n<ul>\n<li><a href=\"http://www.apache.org/dev/release-publishing\">Apache Release Guide</a></li>\n<li><a href=\"http://www.apache.org/dev/release.html\">Apache Release Policy</a></li>\n<li><a href=\"http://www.apache.org/dev/publishing-maven-artifacts.html\">Maven Release Info</a></li>\n</ul>\n<h2>本地构建环境准备< [...]
+  "__html": "<h2>理解Apache发布的内容和流程</h2>\n<p>总的来说,Source Release是Apache关注的重点,也是发布的必须内容;而Binary Release是可选项,Dubbo可以选择是否发布二进制包到Apache仓库或者发布到Maven中央仓库。</p>\n<p>请参考以下链接,找到更多关于ASF的发布指南:</p>\n<ul>\n<li><a href=\"http://www.apache.org/dev/release-publishing\">Apache Release Guide</a></li>\n<li><a href=\"http://www.apache.org/dev/release.html\">Apache Release Policy</a></li>\n<li><a href=\"http://www.apache.org/dev/publishing-maven-artifacts.html\">Maven Release Info</a></li>\n</ul>\n<h2>本地构建环境准备< [...]
 }
\ No newline at end of file