You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by ni...@apache.org on 2015/04/15 00:03:57 UTC

[5/5] samza git commit: SAMZA-629: add instructions for upgrading websites when releasing new version

SAMZA-629: add instructions for upgrading websites when releasing new version


Project: http://git-wip-us.apache.org/repos/asf/samza/repo
Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/233837e5
Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/233837e5
Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/233837e5

Branch: refs/heads/samza-sql
Commit: 233837e55907dfe3e5dba4b2db6efb642b68876d
Parents: 5589ede
Author: Yan Fang <ya...@gmail.com>
Authored: Thu Apr 9 15:03:49 2015 -0700
Committer: Yi Pan (Data Infrastructure) <yi...@linkedin.com>
Committed: Tue Apr 14 14:40:44 2015 -0700

----------------------------------------------------------------------
 docs/README.md | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/samza/blob/233837e5/docs/README.md
----------------------------------------------------------------------
diff --git a/docs/README.md b/docs/README.md
index 235fe18..63f03e7 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -52,10 +52,38 @@ To auto-generate the latest Javadocs, run:
 
     bin/generate-javadocs.sh
 
-## Release
+## Publish
 
 To build and publish the website to Samza's Apache SVN repository, run:
 
     bin/publish-site.sh "updating welcome page" criccomini
 
 This command will re-build the Javadocs and website, checkout https://svn.apache.org/repos/asf/samza/site/ locally, copy the site into the directory, and commit the changes.
+
+## Release-new-version Website Checklist
+
+Assume we want to release x.x.x , need to work on two branches: x.x.x and master.
+
+Following can be done when updating the gradle.properties file
+
+1. in x.x.x branch,
+
+    * modify the docs/_config.yml to make the "version" and "latest-release" to x.x.x
+
+    * remove "git checkout latest" in docs/startup/hello-samza/versioned/index.md
+
+2. in master branch,
+
+    * modify the docs/_config.yml to make the "latest-release" to x.x.x
+
+    * add the x.x.x release to Archive category in docs/_layout/default.html and x.x.x release part in docs/archive/index.html
+
+    * update the download page to use x.x.x release
+
+    * update the version number in "tar -xvf ./target/hello-samza-x.x.x-dist.tar.gz -C deploy/samza" in docs/startup/hello-samza/versioned/index.md
+
+After apache mirrors pick up the new release,
+
+3. in x.x.x branch, run bin/publish-site.sh "updating welcome page" criccomini
+
+4. in master branch, run bin/publish-site.sh "updating welcome page" criccomini