blob: ae5b9c2b942279e707ba4ad32beb174b07f96dc0 [file] [log] [blame]
#!/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.*