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