blob: e3bb83cd0a3bc8386e59f5290970d34ba64bcfdd [file] [log] [blame]
Thomas Vachuska683b31b2015-01-26 11:54:31 -08001#!/bin/bash
2# -----------------------------------------------------------------------------
3# Uploads ONOS distributable bits.
4# -----------------------------------------------------------------------------
Brian O'Connorf5d93632015-09-04 20:18:31 -07005
6set -e
7
Thomas Vachuska683b31b2015-01-26 11:54:31 -08008[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1
9. $ONOS_ROOT/tools/build/envDefaults
10
Brian O'Connor6b30e1b2015-03-11 16:44:16 -070011#FIXME need to export s3Creds
Brian O'Connor0fed5752015-05-04 18:15:29 -070012#TODO we could verify that ONOS_VERSION is set, and only upload that version
Thomas Vachuska683b31b2015-01-26 11:54:31 -080013
Brian O'Connor30a412d2015-05-21 18:04:26 -070014onosUploadBits.py