blob: 9d6e053b5fb0e4035e2a46915e4b4d64eeec090d [file] [log] [blame]
#!/bin/bash
#-----------------------------------------------
#Updates versions for all onos cord applications
#-----------------------------------------------
APP_VERSION=$1
ONOS_VERSION=$2
cd apps
mvn versions:set -DnewVersion=$APP_VERSION versions:commit
git submodule foreach mvn versions:set -DnewVersion=$APP_VERSION versions:commit
git submodule foreach mvn versions:update-parent -DparentVersion=[$ONOS_VERSION]