Brian O'Connor

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

Change-Id: I0d5595a7e02ea8e05dcd7b31de8428f7fe84691f
...@@ -19,5 +19,6 @@ ssh $remote " ...@@ -19,5 +19,6 @@ ssh $remote "
19 mv onos-apidocs-$ONOS_VERSION/* . 19 mv onos-apidocs-$ONOS_VERSION/* .
20 rm -rf onos-apidocs-$ONOS_VERSION 20 rm -rf onos-apidocs-$ONOS_VERSION
21 21
22 - # TODO: optionally bump /var/www/api/index.html 22 + # bump /var/www/api/index.html
23 + sed -i -E 's#/[^/]+/#/$ONOS_VERSION/#g' /var/www/api/index.html
23 " 24 "
......