You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2019/01/09 14:09:33 UTC
svn commit: r1850860 - in /kylin/site: cn/development/howto_release.html
development/howto_release.html feed.xml
Author: lidong
Date: Wed Jan 9 14:09:32 2019
New Revision: 1850860
URL: http://svn.apache.org/viewvc?rev=1850860&view=rev
Log:
update how to release
Modified:
kylin/site/cn/development/howto_release.html
kylin/site/development/howto_release.html
kylin/site/feed.xml
Modified: kylin/site/cn/development/howto_release.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/development/howto_release.html?rev=1850860&r1=1850859&r2=1850860&view=diff
==============================================================================
--- kylin/site/cn/development/howto_release.html (original)
+++ kylin/site/cn/development/howto_release.html Wed Jan 9 14:09:32 2019
@@ -312,7 +312,7 @@ var _hmt = _hmt || [];
<div class="highlight"><pre><code class="language-bash" data-lang="bash">ssh -T git@github.com</code></pre></div>
-<p>åºäºè¦å½åçå¼ååæ¯ï¼å建ä¸ä¸ªä»¥ release çæ¬å·å½åçåå¸åæ¯ï¼ä¾å¦ï¼v2.5.0-releaseï¼å¹¶å°å
¶æ¨å°æå¡å¨ç«¯ã</p>
+<p>åºäºè¦å½åçå¼ååæ¯ï¼å建ä¸ä¸ªä»¥ release çæ¬å·å½åçåå¸åæ¯ï¼ä¾å¦ï¼v2.5.0-release (注æåæ¯ååä¸è½ä¸tagååç¸å)ï¼å¹¶å°å
¶æ¨å°æå¡å¨ç«¯ã</p>
<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>git checkout -b vX.Y.Z-release
<span class="gp">$ </span>git push -u origin vX.Y.Z-release</code></pre></div>
@@ -350,7 +350,8 @@ var _hmt = _hmt || [];
<p><strong>è¿è¡çå®ç release:</strong><br />
ç°å¨çæ£å¼å§ release</p>
-<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span>
+<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># å¦æä¹ååäºdry runï¼å¨çæ£å¼å§releaseä¹åéè¦åæ¸
ç</span>
+<span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span>
<span class="gp">$ </span>mvn -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:prepare
<span class="c"># Perform checks out the tagged version, builds, and deploys to the staging repository</span>
@@ -481,7 +482,7 @@ https://people.apache.org/keys/committer
Please vote on releasing this package as Apache Kylin X.Y.Z.
The vote is open for the next 72 hours and passes if a majority of
-at least three +1 PPMC votes are cast.
+at least three +1 PMC votes are cast.
[ ] +1 Release this package as Apache Kylin X.Y.Z
[ ] 0 I don't feel strongly about it, but I'm okay with the release
@@ -594,10 +595,15 @@ svn commit -m <span class="s1">'Remove o
</ul>
<h2 id="section-4">æ´æ°æºç </h2>
-<p>åå¸åï¼æ¨éè¦æå¨æ´æ°ä¸äºæºä»£ç ï¼</p>
+<p>åå¸åï¼æ¨éè¦æ´æ°ä¸äºæºä»£ç ï¼</p>
<ul>
- <li>æ´æ° <code class="highlighter-rouge">KylinVersion</code> ç±»ï¼å° <code class="highlighter-rouge">CURRENT_KYLIN_VERSION</code> çå¼æ´æ¹ä¸ºå½åå¼åçæ¬ã</li>
+ <li>
+ <p>æåå¸åæ¯ï¼å¦v2.5.0-releaseï¼å并å°å¼ååæ¯ä¸ï¼å¦2.5.xï¼ä»¥ä¾¿å¼å§ä¸ä¸ªçæ¬çå¼åã</p>
+ </li>
+ <li>
+ <p>æå¨æ´æ° <code class="highlighter-rouge">KylinVersion</code> ç±»ï¼å° <code class="highlighter-rouge">CURRENT_KYLIN_VERSION</code> çå¼æ´æ¹ä¸ºå½åå¼åçæ¬ã</p>
+ </li>
</ul>
<h2 id="section-5">åå¸ç½ç«</h2>
Modified: kylin/site/development/howto_release.html
URL: http://svn.apache.org/viewvc/kylin/site/development/howto_release.html?rev=1850860&r1=1850859&r2=1850860&view=diff
==============================================================================
--- kylin/site/development/howto_release.html (original)
+++ kylin/site/development/howto_release.html Wed Jan 9 14:09:32 2019
@@ -6172,7 +6172,7 @@ If youâre the first time to do rele
<div class="highlight"><pre><code class="language-bash" data-lang="bash">ssh -T git@github.com</code></pre></div>
-<p>Create a branch for release work from your current development branch, named with this release version, e.g. v2.5.0-release, and then push it to Apache.</p>
+<p>Create a branch for release work from your current development branch, named with this release version, e.g. v2.5.0-release (should not be the same name with the tag name), and then push it to Apache.</p>
<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>git checkout -b vX.Y.Z-release
<span class="gp">$ </span>git push -u origin vX.Y.Z-release</code></pre></div>
@@ -6211,7 +6211,8 @@ If youâre the first time to do rele
<p><strong>Run real release:</strong><br />
Now, run the release for real.</p>
-<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span>
+<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Note that if a dry run is done previously, need to do the cleanup first before run the release for real</span>
+<span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span>
<span class="gp">$ </span>mvn -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:prepare
<span class="c"># Perform checks out the tagged version, builds, and deploys to the staging repository</span>
@@ -6330,7 +6331,7 @@ Its hash is xxx.
The artifacts to be voted on are located here:
https://dist.apache.org/repos/dist/dev/kylin/apache-kylin-X.Y.Z-rcN/
-The hashe of the artifact is as follows:
+The hash of the artifact is as follows:
apache-kylin-X.Y.Z-source-release.zip.sha256 xxx
A staged Maven repository is available for review at:
@@ -6342,7 +6343,7 @@ https://people.apache.org/keys/committer
Please vote on releasing this package as Apache Kylin X.Y.Z.
The vote is open for the next 72 hours and passes if a majority of
-at least three +1 PPMC votes are cast.
+at least three +1 PMC votes are cast.
[ ] +1 Release this package as Apache Kylin X.Y.Z
[ ] 0 I don't feel strongly about it, but I'm okay with the release
@@ -6457,10 +6458,15 @@ svn commit -m <span class="s1">'Remove o
</ul>
<h2 id="update-source-code">Update source code</h2>
-<p>After publish the release, you need to manually update some source code:</p>
+<p>After publish the release, you need to do update some source code:</p>
<ul>
- <li>Update <code class="highlighter-rouge">KylinVersion</code> class, change value of <code class="highlighter-rouge">CURRENT_KYLIN_VERSION</code> to current development version.</li>
+ <li>
+ <p>Merge the release branch, e.g. v2.5.0-release, to the current development branch, e.g. 2.5.x, for preparing the next development iteration.</p>
+ </li>
+ <li>
+ <p>Manually update <code class="highlighter-rouge">KylinVersion</code> class, change value of <code class="highlighter-rouge">CURRENT_KYLIN_VERSION</code> to current development version.</p>
+ </li>
</ul>
<h2 id="publishing-the-web-site">Publishing the web site</h2>
Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1850860&r1=1850859&r2=1850860&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Wed Jan 9 14:09:32 2019
@@ -19,8 +19,8 @@
<description>Apache Kylin Home</description>
<link>http://kylin.apache.org/</link>
<atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Thu, 27 Dec 2018 05:59:28 -0800</pubDate>
- <lastBuildDate>Thu, 27 Dec 2018 05:59:28 -0800</lastBuildDate>
+ <pubDate>Wed, 09 Jan 2019 05:59:25 -0800</pubDate>
+ <lastBuildDate>Wed, 09 Jan 2019 05:59:25 -0800</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>