Release build for bazel
Change-Id: I3de06814f530cef888163a84ce049fd08f491156
diff --git a/tools/build/onos-build-and-upload b/tools/build/onos-build-and-upload
index 97657c9..1d66973 100755
--- a/tools/build/onos-build-and-upload
+++ b/tools/build/onos-build-and-upload
@@ -3,6 +3,8 @@
# Builds the release bits and uploads them.
# -----------------------------------------------------------------------------
+set -e -o pipefail
+
VERSION=$1
NEXT_VERSION=$2
BRANCH=$3
@@ -20,11 +22,9 @@
# upload docs
onos-upload-docs ${WIKI_USER}
- # upload release bits
- onos-upload-bits
-
# spot check that uploaded artifacts are correct
- check-uploaded-maven-artifacts $VERSION $ONOS_ROOT https://oss.sonatype.org/content/groups/staging
+ # TODO - implement this for bazel
+ # check-uploaded-maven-artifacts $VERSION $ONOS_ROOT https://oss.sonatype.org/content/groups/staging
# set the version strings to the next version
onos-snapshot ${NEXT_VERSION}