Release build for bazel
Change-Id: I3de06814f530cef888163a84ce049fd08f491156
diff --git a/tools/build/onos-change-version b/tools/build/onos-change-version
index 9477e0f..94a5665 100755
--- a/tools/build/onos-change-version
+++ b/tools/build/onos-change-version
@@ -52,4 +52,8 @@
sed -i".VERBACK" -E "s/ONOS_VERSION.*/ONOS_VERSION = '$NEW_VERSION'/" onos.defs
sed -i".VERBACK" -E "s/ONOS_VERSION=.*/ONOS_VERSION='$NEW_VERSION'/" tools/build/onos-prepare-sonar
+# Version the bazel artifacts
+sed -i".VERBACK" -E "s/ONOS_VERSION.*/ONOS_VERSION = \"$NEW_VERSION\"/" tools/build/bazel/variables.bzl
+sed -i".VERBACK" -E "s/ONOS_VERSION.*/ONOS_VERSION = \"$NEW_VERSION\"/" WORKSPACE
+
find . -name "*.VERBACK" | xargs rm -f