Updating onos-upload-docs to bump version in index.html

Change-Id: I0d5595a7e02ea8e05dcd7b31de8428f7fe84691f
diff --git a/tools/build/onos-upload-docs b/tools/build/onos-upload-docs
index f74a13f..b98bf74 100755
--- a/tools/build/onos-upload-docs
+++ b/tools/build/onos-upload-docs
@@ -19,5 +19,6 @@
     mv onos-apidocs-$ONOS_VERSION/* .
     rm -rf onos-apidocs-$ONOS_VERSION
 
-    # TODO: optionally bump /var/www/api/index.html
+    # bump /var/www/api/index.html
+    sed -i -E 's#/[^/]+/#/$ONOS_VERSION/#g' /var/www/api/index.html
 "