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