Updating onos-upload-docs to bump version in index.html
Change-Id: I0d5595a7e02ea8e05dcd7b31de8428f7fe84691f
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -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 | " | ... | ... |
-
Please register or login to post a comment