blob: ae5b9c2b942279e707ba4ad32beb174b07f96dc0 [file] [log] [blame]
Thomas Vachuska683b31b2015-01-26 11:54:31 -08001#!/bin/bash
2# -----------------------------------------------------------------------------
3# Uploads ONOS distributable bits.
4# -----------------------------------------------------------------------------
Thomas Vachuska683b31b2015-01-26 11:54:31 -08005[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
6. $ONOS_ROOT/tools/build/envDefaults
7
Brian O'Connor6b30e1b2015-03-11 16:44:16 -07008#FIXME need to export s3Creds
9#FIXME verify that ONOS_VERSION is set
Thomas Vachuska683b31b2015-01-26 11:54:31 -080010
Brian O'Connor6b30e1b2015-03-11 16:44:16 -070011# upload to EC2
12upload-to-s3 -d release/ /tmp/onos-$ONOS_VERSION.*