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