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

Change-Id: I0d5595a7e02ea8e05dcd7b31de8428f7fe84691f
This commit is contained in:
Brian O'Connor 2016-03-01 19:18:53 -08:00
parent c5996b2dd5
commit c04e876216

View File

@ -19,5 +19,6 @@ ssh $remote "
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
"