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 2017/04/30 14:14:55 UTC

kylin git commit: enhance release document

Repository: kylin
Updated Branches:
  refs/heads/document 9cc2de989 -> 7087c38ed


enhance release document


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7087c38e
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7087c38e
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7087c38e

Branch: refs/heads/document
Commit: 7087c38edc452f6839a4fb94bbc02d3b6db17333
Parents: 9cc2de9
Author: Yang Li <li...@apache.org>
Authored: Sun Apr 30 22:14:38 2017 +0800
Committer: Yang Li <li...@apache.org>
Committed: Sun Apr 30 22:14:38 2017 +0800

----------------------------------------------------------------------
 website/_dev/howto_release.md    | 12 +++++++-----
 website/_docs20/release_notes.md |  2 +-
 2 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/7087c38e/website/_dev/howto_release.md
----------------------------------------------------------------------
diff --git a/website/_dev/howto_release.md b/website/_dev/howto_release.md
index 4bdc41e..8af0cc7 100644
--- a/website/_dev/howto_release.md
+++ b/website/_dev/howto_release.md
@@ -72,7 +72,7 @@ If you're the first time to do release, you need update the server authenticatio
 
 In the "servers" section, make sure the following servers be added, and replace #YOUR_APACHE_ID#, #YOUR_APACHE_PWD#, #YOUR_GPG_PASSPHRASE# with your ID, password, and passphrase:
 {% highlight bash %}
-<servers>
+  <servers>
     <!-- To publish a snapshot of some part of Maven -->
     <server>
       <id>apache.snapshots.https</id>
@@ -113,7 +113,7 @@ In the "servers" section, make sure the following servers be added, and replace
   </servers>
 {% endhighlight %}
 
-__Fix license issues and make a snapshot__
+__Fix license issues__
 {% highlight bash %}
 # Set passphrase variable without putting it into shell history
 $ read -s GPG_PASSPHRASE
@@ -136,7 +136,7 @@ Optionally, when the dry-run has succeeded, change install to deploy:
 $ mvn -Papache-release -Dgpg.passphrase=${GPG_PASSPHRASE} deploy
 {% endhighlight %}
 
-__Making a release__
+__Prepare and dry run a release__
 
 Create a release branch named after the release, e.g. v0.7.2-release, and push it to Apache.  
 {% highlight bash %}
@@ -145,7 +145,7 @@ $ git push -u origin vX.Y.Z-release
 {% endhighlight %}
 We will use the branch for the entire the release process. Meanwhile, we do not allow commits to the master branch. After the release is final, we can use `git merge --ff-only` to append the changes on the release branch onto the master branch. (Apache does not allow reverts to the master branch, which makes it difficult to clean up the kind of messy commits that inevitably happen while you are trying to finalize a release.)
 
-Now, set up your environment and do a dry run. The dry run will not commit any changes back to git and gives you the opportunity to verify that the release process will complete as expected.
+Now, set up your environment and do an optional dry run. The dry run will not commit any changes back to git and gives you the opportunity to verify that the release process will complete as expected.
 
 If any of the steps fail, clean up (see below), fix the problem, and start again from the top.  
 {% highlight bash %}
@@ -160,7 +160,7 @@ $ mvn clean
 $ mvn -DdryRun=true -DskipTests -DreleaseVersion=X.Y.Z -DdevelopmentVersion=(X.Y.Z+1)-SNAPSHOT -Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE}" release:prepare 2>&1 | tee /tmp/prepare-dry.log
 {% endhighlight %}
 
-__Check the artifacts:__
+__Check the dry run output:__
 
 * In the `target` directory should be these 8 files, among others:
   * apache-kylin-X.Y.Z-SNAPSHOT-src.tar.gz
@@ -372,6 +372,8 @@ with a change comment
 (fill in release number and date appropriately).  
 __Uncheck "Send mail for this update".__
 
+Mark the version released in JIRA system, [Manage Versions](https://issues.apache.org/jira/plugins/servlet/project-config/KYLIN/versions).
+
 Promote the staged nexus artifacts.
 
 * Go to [https://repository.apache.org/](https://repository.apache.org/) and login

http://git-wip-us.apache.org/repos/asf/kylin/blob/7087c38e/website/_docs20/release_notes.md
----------------------------------------------------------------------
diff --git a/website/_docs20/release_notes.md b/website/_docs20/release_notes.md
index 26dcf70..880b4ea 100644
--- a/website/_docs20/release_notes.md
+++ b/website/_docs20/release_notes.md
@@ -15,7 +15,7 @@ or send to Apache Kylin mailing list:
 * User relative: [user@kylin.apache.org](mailto:user@kylin.apache.org)
 * Development relative: [dev@kylin.apache.org](mailto:dev@kylin.apache.org)
 
-## v2.0.0 - 2017-04-22  (voting)
+## v2.0.0 - 2017-04-30
 
 _Tag:_ [kylin-2.0.0](https://github.com/apache/kylin/tree/kylin-2.0.0)
 This is a major release with **Spark Cubing**, **Snowflake Data Model** and runs **TPC-H Benchmark**. Check out [the download](/download/) and the [how to upgrade guide](/docs20/howto/howto_upgrade.html).