aboutsummaryrefslogtreecommitdiff
path: root/RELEASING.md
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2016-03-10 16:28:35 -0800
committerEric Anderson <ejona@google.com>2016-03-10 16:28:35 -0800
commit27d848901f5dcaa01511e4a498d63ee85555cfaf (patch)
tree2fe033795d5bf22c8a1ae4c34ca1c6eb64acd4d9 /RELEASING.md
parent397d8618a11adfc7d6aa8e86a015830ccf370c0f (diff)
downloadgrpc-grpc-java-27d848901f5dcaa01511e4a498d63ee85555cfaf.tar.gz
Improve updating hosted JavaDoc for copy/pasting commands
Diffstat (limited to 'RELEASING.md')
-rw-r--r--RELEASING.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/RELEASING.md b/RELEASING.md
index 43d1f6bc3..8e0e68165 100644
--- a/RELEASING.md
+++ b/RELEASING.md
@@ -327,16 +327,17 @@ updated since last release. Make a new commit with description similar to
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:
+Now we need to update gh-pages with the new Javadoc:
```bash
git checkout gh-pages
rm -r javadoc/
-unzip -d javadoc path/to/grpc-all-<VERSION>-javadoc.jar
+wget -O grpc-all-javadoc.jar "http://search.maven.org/remotecontent?filepath=io/grpc/grpc-all/$MAJOR.$MINOR.$PATCH/grpc-all-$MAJOR.$MINOR.$PATCH-javadoc.jar"
+unzip -d javadoc grpc-all-javadoc.jar
+rm grpc-all-javadoc.jar
rm -r javadoc/META-INF/
git add -A javadoc
-git commit -m "Javadoc for <VERSION>"
+git commit -m "Javadoc for $MAJOR.$MINOR.$PATCH"
```
Push gh-pages to the main repository and verify the current version is [live