Files
gerrit/version.bzl
Dave Borowitz 93e055f29a Release 2.15-rc2
Change-Id: I3a6c72ce8c09ecd5514135e15b9da68934b4100b
2017-11-02 08:54:01 -04:00

13 lines
435 B
Python

# Maven style API version (e.g. '2.x-SNAPSHOT').
# Used by :api_install and :api_deploy targets
# when talking to the destination repository.
#
GERRIT_VERSION = "2.16-SNAPSHOT"
def check_version(x):
if native.bazel_version == "":
# experimental / unreleased Bazel.
return
if native.bazel_version < x:
fail("\nERROR: Current Bazel version is {}, expected at least {}\n".format(native.bazel_version, x))