mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-11-01 16:51:28 +01:00
Updating version for new features
Change-Id: Ie798b1a286f05c9f2ee16df389cd91b5d6189853
This commit is contained in:
parent
84e523cde2
commit
47c42a32d0
@ -45,4 +45,12 @@ for atype in api bundle cli ui; do
|
||||
pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml"
|
||||
sed -i "" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom
|
||||
done
|
||||
sed -i "" -E "s/-DarchetypeVersion=[^\"]*/-DarchetypeVersion=$NEW_VERSION/g" $ONOS_ROOT/tools/test/bin/onos-archetypes-test
|
||||
|
||||
# Augment the version cord-gui
|
||||
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
|
||||
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
|
||||
sed -i "" -E "s#CORD=./cord-gui-.*\.war#CORD=./cord-gui-$NEW_VERSION.war#" $ONOS_ROOT/apps/demo/cord-gui/src/scripts/run.me
|
||||
|
||||
# Augment the acl app
|
||||
sed -i "" -E "s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $ONOS_ROOT/apps/acl/pom.xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user