Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 1 | #!/bin/bash -ex |
| 2 | |
| 3 | # set up ONOS build environment |
| 4 | ONOS_ROOT=`pwd` |
| 5 | . tools/build/envDefaults |
| 6 | |
Ray Milkey | c33b163 | 2017-11-17 16:41:45 -0800 | [diff] [blame^] | 7 | # extract GPG key |
| 8 | base64 -d secring.gpg.b64 >secring.gpg |
Ray Milkey | e8fd4f0 | 2017-11-17 14:54:18 -0800 | [diff] [blame] | 9 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 10 | env |
Ray Milkey | c33b163 | 2017-11-17 16:41:45 -0800 | [diff] [blame^] | 11 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 12 | # set up release build credentials |
| 13 | . onos-build-credentials |
| 14 | |
| 15 | env |
| 16 | |
| 17 | # run the build |
| 18 | onos-build-and-upload ${ONOS_VERSION} ${ONOS_NEXT_VERSION} ${GERRIT_BRANCH} |