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 | |
Yuta HIGUCHI | ea8966d | 2016-12-03 15:04:54 -0800 | [diff] [blame] | 10 | sed -i.bak 's/^/onos-buck publish --to-local-repo /g' /tmp/publish.sh |
Brian O'Connor | 5ef94b8 | 2016-11-12 21:56:49 -0800 | [diff] [blame] | 11 | |
| 12 | bash /tmp/publish.sh |
| 13 | |
| 14 | rm /tmp/publish.sh |
Yuta HIGUCHI | ea8966d | 2016-12-03 15:04:54 -0800 | [diff] [blame] | 15 | rm /tmp/publish.sh.bak |
Brian O'Connor | 5ef94b8 | 2016-11-12 21:56:49 -0800 | [diff] [blame] | 16 | |
| 17 | onos-buck query "testsof(kind('onos_jar', deps('//tools/package:onos-package')))" >> /tmp/publish.sh |
Yuta HIGUCHI | ea8966d | 2016-12-03 15:04:54 -0800 | [diff] [blame] | 18 | sed -i.bak 's#^#onos-buck publish --to-local-repo #g' /tmp/publish.sh |
Brian O'Connor | 5ef94b8 | 2016-11-12 21:56:49 -0800 | [diff] [blame] | 19 | |
| 20 | bash /tmp/publish.sh |
Yuta HIGUCHI | ea8966d | 2016-12-03 15:04:54 -0800 | [diff] [blame] | 21 | rm /tmp/publish.sh.bak |