Updating onos-change-version for docs
Change-Id: I1c841a995c1598a9a39be2347acaba1a99c27796
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -19,7 +19,7 @@ cd $ONOS_ROOT | ... | @@ -19,7 +19,7 @@ cd $ONOS_ROOT |
19 | mvn versions:set -DnewVersion=$NEW_VERSION versions:commit | 19 | mvn versions:set -DnewVersion=$NEW_VERSION versions:commit |
20 | 20 | ||
21 | # Augment the version of the Java API pom files and the overview.html file. | 21 | # Augment the version of the Java API pom files and the overview.html file. |
22 | -for pom in docs/pom.xml docs/external.xml; do | 22 | +for pom in docs/internal.xml docs/external.xml; do |
23 | sed -i "" -E "1,/<version>/s/<version>[^<]*</<version>$NEW_VERSION</g" $pom | 23 | sed -i "" -E "1,/<version>/s/<version>[^<]*</<version>$NEW_VERSION</g" $pom |
24 | sed -i "" -E "1,/<doctitle>/s/<doctitle>ONOS Java API[^<]*</<doctitle>ONOS Java API ($NEW_VERSION)</g" $pom | 24 | sed -i "" -E "1,/<doctitle>/s/<doctitle>ONOS Java API[^<]*</<doctitle>ONOS Java API ($NEW_VERSION)</g" $pom |
25 | done | 25 | done | ... | ... |
-
Please register or login to post a comment