blob: 9d6e053b5fb0e4035e2a46915e4b4d64eeec090d [file] [log] [blame]
alshabib12f4c342016-06-28 17:20:45 +02001#!/bin/bash
2
3#-----------------------------------------------
4#Updates versions for all onos cord applications
5#-----------------------------------------------
6
7APP_VERSION=$1
8ONOS_VERSION=$2
9
10cd apps
11
12mvn versions:set -DnewVersion=$APP_VERSION versions:commit
13git submodule foreach mvn versions:set -DnewVersion=$APP_VERSION versions:commit
14
15
16git submodule foreach mvn versions:update-parent -DparentVersion=[$ONOS_VERSION]