mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-16 01:41:26 +02:00
13 lines
453 B
Bash
Executable File
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.*
|