Thomas Vachuska | 683b31b | 2015-01-26 11:54:31 -0800 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # ----------------------------------------------------------------------------- |
| 3 | # Uploads ONOS distributable bits. |
| 4 | # ----------------------------------------------------------------------------- |
Brian O'Connor | f5d9363 | 2015-09-04 20:18:31 -0700 | [diff] [blame^] | 5 | |
| 6 | set -e |
| 7 | |
Thomas Vachuska | 683b31b | 2015-01-26 11:54:31 -0800 | [diff] [blame] | 8 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
| 9 | . $ONOS_ROOT/tools/build/envDefaults |
| 10 | |
Brian O'Connor | 6b30e1b | 2015-03-11 16:44:16 -0700 | [diff] [blame] | 11 | #FIXME need to export s3Creds |
Brian O'Connor | 0fed575 | 2015-05-04 18:15:29 -0700 | [diff] [blame] | 12 | #TODO we could verify that ONOS_VERSION is set, and only upload that version |
Thomas Vachuska | 683b31b | 2015-01-26 11:54:31 -0800 | [diff] [blame] | 13 | |
Brian O'Connor | 30a412d | 2015-05-21 18:04:26 -0700 | [diff] [blame] | 14 | onosUploadBits.py |