Repository: kylin Updated Branches: refs/heads/document ac0942344 -> 5834ded3d
update howto_release doc Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/1cfb28b8 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/1cfb28b8 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/1cfb28b8 Branch: refs/heads/document Commit: 1cfb28b85451c2697dbbab7c16478d9cc36b22e4 Parents: ac09423 Author: shaofengshi <shaofeng...@apache.org> Authored: Wed Jun 8 16:14:20 2016 +0800 Committer: shaofengshi <shaofeng...@apache.org> Committed: Wed Jun 8 16:14:40 2016 +0800 ---------------------------------------------------------------------- website/_dev/howto_package.md | 2 +- website/_dev/howto_release.md | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/1cfb28b8/website/_dev/howto_package.md ---------------------------------------------------------------------- diff --git a/website/_dev/howto_package.md b/website/_dev/howto_package.md index a9dec33..f0f044f 100644 --- a/website/_dev/howto_package.md +++ b/website/_dev/howto_package.md @@ -9,7 +9,7 @@ permalink: /development/howto_package.html {% highlight bash %} git clone https://github.com/apache/kylin kylin cd kylin -./script/package.sh +./build/script/package.sh {% endhighlight %} In order to generate binary package, **maven** and **npm** are pre-requisites. http://git-wip-us.apache.org/repos/asf/kylin/blob/1cfb28b8/website/_dev/howto_release.md ---------------------------------------------------------------------- diff --git a/website/_dev/howto_release.md b/website/_dev/howto_release.md index d2b4ab9..e84cc02 100644 --- a/website/_dev/howto_release.md +++ b/website/_dev/howto_release.md @@ -18,7 +18,7 @@ Make sure you have avaliable account and privilege for following applications: * Apache Nexus (maven repo): [https://repository.apache.org](https://repository.apache.org) * Apache Kylin dist repo: [https://dist.apache.org/repos/dist/dev/kylin](https://dist.apache.org/repos/dist/dev/kylin) -## Setup PGP signing keys +## Setup GPG signing keys Follow instructions at [http://www.apache.org/dev/release-signing](http://www.apache.org/dev/release-signing) to create a key pair Install gpg (On Mac OS X as sample): `brew install gpg` @@ -63,6 +63,7 @@ __Before you start:__ * Set up signing keys as described above. * Make sure you are using JDK 1.7 (not 1.8). +* Make sure you are using GIT 2.7.2 or above. * Make sure you are working on right release version number. * Make sure that every âresolvedâ JIRA case (including duplicates) has a fix version assigned. @@ -412,6 +413,17 @@ The old releases will remain available in the Release same version in JIRA, check [Change Log](https://issues.apache.org/jira/browse/KYLIN/?selectedTab=com.atlassian.jira.jira-projects-plugin:changelog-panel) for the latest released version. +## Build and upload binary package +After publish the release, you need generate the binary packages and then put them to the svn release repository; + +* Git checkout the tag for current release; +* Make a binary package by refering to [this doc](howto_package.html); +* Sign the generated binary package with gpg, e.g,: "gpg --armor --output apache-kylin-1.5.0-bin.tar.gz.asc --detach-sig apache-kylin-1.5.0-bin.tar.gz" +* Move both the binary package and the signature file to the svn release folder for this version; +* For different Hadoop/HBase version, you may need repeat the above steps; +* Add the files and then commit the svn changes. + + ## Update source code After publish the release, you need to manually update some source code: