Updating version for new features
Change-Id: Ie798b1a286f05c9f2ee16df389cd91b5d6189853
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -45,4 +45,12 @@ for atype in api bundle cli ui; do | ... | @@ -45,4 +45,12 @@ for atype in api bundle cli ui; do |
45 | pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml" | 45 | pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml" |
46 | sed -i "" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom | 46 | sed -i "" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom |
47 | done | 47 | done |
48 | +sed -i "" -E "s/-DarchetypeVersion=[^\"]*/-DarchetypeVersion=$NEW_VERSION/g" $ONOS_ROOT/tools/test/bin/onos-archetypes-test | ||
48 | 49 | ||
50 | +# Augment the version cord-gui | ||
51 | +perl -i -0pe "s#<artifactId>cord-gui<.*\n.*version>#<artifactId>cord-gui</artifactId>\n <version>$NEW_VERSION</version>#" $ONOS_ROOT/apps/demo/cord-gui/pom.xml | ||
52 | +sed -i "" -E "s#demo/cord-gui/target/cord-gui-.*\.war#demo/cord-gui/target/cord-gui-$NEW_VERSION.war#" $ONOS_ROOT/apps/demo/cord-gui/src/scripts/pullwar.sh | ||
53 | +sed -i "" -E "s#CORD=./cord-gui-.*\.war#CORD=./cord-gui-$NEW_VERSION.war#" $ONOS_ROOT/apps/demo/cord-gui/src/scripts/run.me | ||
54 | + | ||
55 | +# Augment the acl app | ||
56 | +sed -i "" -E "s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $ONOS_ROOT/apps/acl/pom.xml | ... | ... |
-
Please register or login to post a comment