diff options
Diffstat (limited to 'framework/src/onos/tools/build/onos-upload-bits')
-rwxr-xr-x | framework/src/onos/tools/build/onos-upload-bits | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/framework/src/onos/tools/build/onos-upload-bits b/framework/src/onos/tools/build/onos-upload-bits new file mode 100755 index 00000000..e3bb83cd --- /dev/null +++ b/framework/src/onos/tools/build/onos-upload-bits @@ -0,0 +1,14 @@ +#!/bin/bash +# ----------------------------------------------------------------------------- +# Uploads ONOS distributable bits. +# ----------------------------------------------------------------------------- + +set -e + +[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 +. $ONOS_ROOT/tools/build/envDefaults + +#FIXME need to export s3Creds +#TODO we could verify that ONOS_VERSION is set, and only upload that version + +onosUploadBits.py |