onos/tools/build/onos-upload-bits
Brian O'Connor 6b30e1b5d8 Updates to the release scripts
Change-Id: I4584bd5c66c22bb2ffe3d8f73923cff8807d5008
2015-03-11 16:44:47 -07:00

13 lines
453 B
Bash
Executable File

#!/bin/bash
# -----------------------------------------------------------------------------
# Uploads ONOS distributable bits.
# -----------------------------------------------------------------------------
[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
. $ONOS_ROOT/tools/build/envDefaults
#FIXME need to export s3Creds
#FIXME verify that ONOS_VERSION is set
# upload to EC2
upload-to-s3 -d release/ /tmp/onos-$ONOS_VERSION.*