Updating POM_VERSION in envDefaults
Change-Id: Ie1ddfda0caf30d1f35ba3ae0e408ea1887348676
diff --git a/tools/build/envDefaults b/tools/build/envDefaults
index 89dc729..d6893d0 100644
--- a/tools/build/envDefaults
+++ b/tools/build/envDefaults
@@ -18,7 +18,7 @@
export BUILD_NUMBER=${BUILD_NUMBER:-$(id -un)~$(date +'%Y/%m/%d@%H:%M')}
# ONOS Version and onos.tar.gz staging environment
-export ONOS_POM_VERSION="1.1.0-SNAPSHOT"
+export ONOS_POM_VERSION="1.2.0-SNAPSHOT"
export ONOS_VERSION=${ONOS_VERSION:-1.2.0.$BUILD_NUMBER}
# ONOS production bits (onos.tar.gz & onos.zip) staging environment
diff --git a/tools/build/onos-change-version b/tools/build/onos-change-version
index d904502..354c9f2 100755
--- a/tools/build/onos-change-version
+++ b/tools/build/onos-change-version
@@ -26,6 +26,7 @@
sed -i "" -E "s/ONOS_VERSION:-[^$]*/ONOS_VERSION:-$NEW_VERSION_SHORT./" $ONOS_ROOT/tools/build/envDefaults
sed -i "" -E "s/features\/.*\/xml/features\/$NEW_VERSION\/xml/" $ONOS_ROOT/tools/test/topos/onos.py
sed -i "" -E "s/ -Dversion=.*\"/ -Dversion=$NEW_VERSION\"/" $ONOS_ROOT/tools/test/bin/onos-archetypes-test
+sed -i "" -E "s/ONOS_POM_VERSION=.*\"/ONOS_POM_VERSION=\"$NEW_VERSION\"/" $ONOS_ROOT/tools/build/envDefaults
# Augment the version in archetypes tree.
mvn -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit