aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/tools/build/onos-upload-bits
blob: e3bb83cd0a3bc8386e59f5290970d34ba64bcfdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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