#!/bin/bash -ex | |
# set up ONOS build environment | |
ONOS_ROOT=`pwd` | |
. tools/build/envDefaults | |
# extract GPG key | |
base64 -d secring.gpg.b64 >secring.gpg | |
env | |
# set up release build credentials | |
. onos-build-credentials | |
env | |
# run the build | |
onos-build-and-upload ${ONOS_VERSION} ${ONOS_NEXT_VERSION} ${GERRIT_BRANCH} |