Brian O'Connor | d27d437 | 2016-10-12 15:06:21 -0700 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | |
| 3 | BUCK_REF="10-11-2016" |
| 4 | ONOS_REF="master" |
| 5 | YANG_REF="master" |
| 6 | |
| 7 | set -x |
| 8 | |
| 9 | # change to tmpdir |
| 10 | DIR=$(mktemp -d /tmp/buck-publish.XXXXX) || { echo "Failed to create temp file"; exit 1; } |
| 11 | cd $DIR |
| 12 | |
| 13 | # checkout buck |
| 14 | git clone -b $BUCK_REF https://github.com/bocon13/buck |
| 15 | |
| 16 | # checkout plugins |
| 17 | git clone -b $ONOS_REF https://gerrit.onosproject.org/onos.git |
| 18 | git clone -b $YANG_REF https://gerrit.onosproject.org/onos-yang-tools.git |
| 19 | |
| 20 | set +x |
| 21 | |
| 22 | echo |
| 23 | echo "Buck publish area:" |
| 24 | echo " cd $DIR" |