You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/07/23 08:36:12 UTC

[kylin] 02/02: update how to release

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

shaofengshi pushed a commit to branch document
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 1762691fb543054597072630a6255692d748dd13
Author: shaofengshi <sh...@apache.org>
AuthorDate: Mon Jul 23 16:22:41 2018 +0800

    update how to release
---
 website/_dev/howto_release.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/website/_dev/howto_release.md b/website/_dev/howto_release.md
index a1ba777..9b0a116 100644
--- a/website/_dev/howto_release.md
+++ b/website/_dev/howto_release.md
@@ -153,8 +153,25 @@ $ read -s GPG_PASSPHRASE
 # Make sure that there are no junk files in the sandbox
 $ git clean -xf
 $ mvn clean
+
+# Optionally, do a dry run of the release:prepare step, which sets version numbers.
+$ mvn -DdryRun=true -DskipTests -DreleaseVersion=X.Y.Z -DdevelopmentVersion=(X.Y.Z+1)-SNAPSHOT -Papache-release -Darguments="-Dgpg.passphrase=${GPG_PASSPHRASE} -DskipTests" release:prepare 2>&1 | tee /tmp/prepare-dry.log
 {% endhighlight %}
 
+__Check the dry run output:__
+
+* In the `target` directory should be these 8 files, among others:
+  * apache-kylin-X.Y.Z-SNAPSHOT-src.zip
+  * apache-kylin-X.Y.Z-SNAPSHOT-src.zip.asc
+  * apache-kylin-X.Y.Z-SNAPSHOT-src.zip.md5
+  * apache-kylin-X.Y.Z-SNAPSHOT-src.zip.sha1
+* Remove the .zip, .zip.asc, .zip.md5 and zip.sha1 file as they are not needed.
+* Note that the file names start `apache-kylin-`.
+* In the source distro `.tar.gz`, check that all files belong to a directory called
+  `apache-kylin-X.Y.Z-src`.
+* That directory must contain files `NOTICE`, `LICENSE`, `README.md`
+* Check PGP, per [this](https://httpd.apache.org/dev/verification.html)
+
 __Run real release:__
 Now, run the release for real.  
 {% highlight bash %}