diff --git a/docs/install.md b/docs/install.md index 31a5ee517..397cfadd8 100644 --- a/docs/install.md +++ b/docs/install.md @@ -7,8 +7,8 @@ This document covers the steps necessary to download, build, and deploy Nomulus. You will need the following programs installed on your local machine: * A recent version of the [Java 8 JDK][java-jdk8]. -* [Bazel build system](http://bazel.io/) (version [0.9.0][bazel-version] works - as of 2017-12-19). +* [Bazel build system](http://bazel.io/) (version [0.10.0][bazel-version] + works as of 2018-02-05). * [Google App Engine SDK for Java][app-engine-sdk], and configure aliases to to the `gcloud` and `appcfg.sh` utilities (you'll use them a lot). * [Git](https://git-scm.com/) version control system. @@ -181,4 +181,4 @@ See the [first steps tutorial](./first-steps-tutorial.md) for more information. [app-engine-sdk]: https://cloud.google.com/appengine/docs/java/download [java-jdk8]: http://www.oracle.com/technetwork/java/javase/downloads -[bazel-version]: https://github.com/bazelbuild/bazel/releases/download/0.9.0/bazel-0.9.0-installer-linux-x86_64.sh +[bazel-version]: https://github.com/bazelbuild/bazel/releases/download/0.10.0/bazel-0.10.0-installer-linux-x86_64.sh diff --git a/java/google/registry/repositories.bzl b/java/google/registry/repositories.bzl index 80ad16047..1c515f550 100644 --- a/java/google/registry/repositories.bzl +++ b/java/google/registry/repositories.bzl @@ -2480,8 +2480,8 @@ def _parse_bazel_version(bazel_version): # Split into (release, date) parts and only return the release # as a tuple of integers. parts = version.split("-", 1) - # Turn "release" into a tuple of strings + # Turn "release" into a tuple of ints. version_tuple = () for number in parts[0].split("."): - version_tuple += (str(number),) + version_tuple += (int(number),) return version_tuple