Skip to content

Commit

Permalink
Upgrade Go Bazel rules to the latest version
Browse files Browse the repository at this point in the history
Fixes running ./polygerrit-ui/run-server.sh in stable-2.16.

bazel 1.7 has a breaking change that requires an update of the go rules
(bazelbuild/bazel#7793).

Bug: Issue 11271
Change-Id: I43c375315cda7112df43f93b0c274aecdf7171ab
(cherry picked from commit 038ab17)
  • Loading branch information
rehmsen authored and bro314 committed Aug 8, 2019
1 parent 6a9e865 commit 841d0e3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@ closure_repositories(
# Golang support for PolyGerrit local dev server.
http_archive(
name = "io_bazel_rules_go",
sha256 = "6776d68ebb897625dead17ae510eac3d5f6342367327875210df44dbe2aeeb19",
url = "https://github.com/bazelbuild/rules_go/releases/download/0.17.1/rules_go-0.17.1.tar.gz",
sha256 = "f04d2373bcaf8aa09bccb08a98a57e721306c8f6043a2a0ee610fd6853dcde3d",
urls = [
"https://storage.googleapis.com/bazel-mirror/github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/0.18.6/rules_go-0.18.6.tar.gz",
],
)

load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
Expand Down

0 comments on commit 841d0e3

Please sign in to comment.