moving to onos-1.7.0
Change-Id: Ia32fd9265ff35944e4745ad9c9578fa2244a67f0
diff --git a/update-versions b/update-versions
index 159eb99..280f350 100755
--- a/update-versions
+++ b/update-versions
@@ -6,12 +6,16 @@
APP_VERSION=$1
ONOS_VERSION=$2
+APPS="aaa config igmp mcast olt vtn"
cd apps
mvn -U versions:set -DallowSnapshots=true -DnewVersion=$APP_VERSION versions:commit
-git submodule foreach mvn -U versions:set -DallowSnapshots=true -DnewVersion=$APP_VERSION versions:commit
-
-git submodule foreach mvn -U versions:update-parent -DallowSnapshots=true -DparentVersion=[$ONOS_VERSION] versions:commit
-git submodule foreach mvn -U versions:update-property -Dproperty=onos.version -DnewVersion=[$ONOS_VERSION] -DallowSnapshots=true versions:commit
+for app in $APPS; do
+ cd $app
+ mvn -U versions:set -DallowSnapshots=true -DnewVersion=$APP_VERSION versions:commit
+ mvn -U versions:update-parent -DallowSnapshots=true -DparentVersion=[$ONOS_VERSION] versions:commit
+ mvn -U versions:update-property -Dproperty=onos.version -DnewVersion=[$ONOS_VERSION] -DallowSnapshots=true versions:commit
+ cd ..
+done