blob: 3646d4f5c92d9e776dc1ecd7e52c60b634e672b5 [file] [log] [blame]
Brian O'Connor5ef94b82016-11-12 21:56:49 -08001#!/bin/bash
2
3set -e
4onos-buck -V
5
6rm -f /tmp/publish.sh
7
8onos-buck query "kind('onos_jar', deps('//tools/package:onos-package'))" >> /tmp/publish.sh
9
10sed -i '' 's/^/onos-buck publish --to-local-repo /g' /tmp/publish.sh
11
12bash /tmp/publish.sh
13
14rm /tmp/publish.sh
15
16onos-buck query "testsof(kind('onos_jar', deps('//tools/package:onos-package')))" >> /tmp/publish.sh
17sed -i '' 's#^#onos-buck publish --to-local-repo #g' /tmp/publish.sh
18
19bash /tmp/publish.sh
20