gerrit/version.bzl
David Ostrovsky 37d719af8c Bazel: Use version check function from bazel-skylib repository
Since version 0.10.0rc1 Bazel started to include version in release
candidate and this broke version check in Bazel Gerrit CI: [1].

bazel-skylib is a project from the Bazel community that exposes utility
rules. Consume working Bazel minimum version check from this repository.
This version parsing machinery was adapted to work with release
candidate version, by omiting rcx part during parsing. See this issue
for more details: [2].

This change also bumps required bazel version to 0.7.0.

[1] https://ci.bazel.build/blue/organizations/jenkins/Global%2Fgerrit/detail/gerrit/345/pipeline
[2] https://github.com/bazelbuild/bazel/issues/4425

Change-Id: Ie3e17ea327c556daa234aeebbc2919be51109e91
2018-01-13 09:37:41 +01:00

6 lines
177 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"