From e64c755a61ff46f753d8395b4946f125a54daf8f Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Wed, 3 Feb 2016 14:14:13 -0800 Subject: [PATCH] Add to RELEASING docs for updating JavaDoc and README --- RELEASING.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/RELEASING.md b/RELEASING.md index d6fbdb50cb..ef7a367b05 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -292,3 +292,29 @@ After waiting ~1 day and verifying that the release appears on [Maven Central] 2. Post a release announcement to [grpc-io](https://groups.google.com/forum/#!forum/grpc-io) (`grpc-io@googlegroups.com`). The title should be something that clearly identifies the release (e.g.`GRPC-Java Released`). + +Update README.md +---------------- + +Update the version numbers in README.md to the new grpc-java version. _Also_ +update the version numbers for protoc if the protobuf library version was +updated since last release. Make a new commit with description similar to +"Update README to reference \" and have it reviewed before submitting. + +Update Hosted Javadoc +--------------------- + +Download the released Javadoc JAR for the grpc-all project from Maven Central. +Now we need to update gh-pages with that new Javadoc: + +```bash +git checkout gh-pages +rm -r javadoc/ +unzip -d javadoc path/to/grpc-all--javadoc.jar +rm -r javadoc/META-INF/ +git add -A javadoc +git commit -m "Javadoc for " +``` + +Push gh-pages to the main repository and verify the current version is [live +on grpc.io](http://www.grpc.io/grpc-java/javadoc/).