Replace references to old versions of Bazel with 1.0
Change-Id: I2998e0b13ec3f9df4d7ec2a5bccdf46a66d9e065
diff --git a/tools/build/bazel/bazel_version.bzl b/tools/build/bazel/bazel_version.bzl
index 5ee5489..aec4384 100644
--- a/tools/build/bazel/bazel_version.bzl
+++ b/tools/build/bazel/bazel_version.bzl
@@ -16,12 +16,12 @@
def check_bazel_version():
if "bazel_version" not in dir(native):
- fail("\nBazel version is too old; please use 0.27.* official release!\n\n")
+ fail("\nBazel version is too old; please use 1.* official release!\n\n")
elif not native.bazel_version:
- print("\nBazel is not a release version; please use 0.27.* official release!\n\n")
+ print("\nBazel is not a release version; please use 1.* official release!\n\n")
return
versions = native.bazel_version.split(".")
if not int(versions[0]) >= 1:
- fail("\nBazel version %s is not supported; please use 1.0.* official release!\n\n" %
+ fail("\nBazel version %s is not supported; please use 1.* official release!\n\n" %
native.bazel_version)