blob: b56575f79c00717fc25132aa96dda909a9f57146 [file] [log] [blame]
Brian O'Connord27d4372016-10-12 15:06:21 -07001#!/bin/bash
2
Brian O'Connora2f3eca2016-11-12 18:08:40 -08003BUCK_REF="11-11-2016"
Brian O'Connord27d4372016-10-12 15:06:21 -07004ONOS_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"