diff options
author | Jay Conrod <jayconrod@google.com> | 2020-11-19 17:27:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 17:27:23 -0500 |
commit | 7112248ff7498178ebabdba575dfd31dfd1c7a1a (patch) | |
tree | daba46a05245a514aa6263f4f950fa51b2cca531 /WORKSPACE | |
parent | b01b09e6cc4a584a00e71c3e5d8897b7d724663f (diff) | |
download | bazelbuild-rules_go-7112248ff7498178ebabdba575dfd31dfd1c7a1a.tar.gz |
go_download_sdk: download release table from golang.org/dl (#2729)
If the sdks attribute is not set, go_download_sdk will now download a
list of available releases from https://golang.org/dl. If the version
attribute is not set, go_download_sdk will pick the highest available
version (and Bazel will tell users to set the version attribute for a
reproducible build). Even if version is set, we need to download the
release list in order to get the SHA-256 sums. Bazel won't cache
downloads without an SHA-256 sum.
go_register_toolchains now requires the version argument (previously
named go_version, which is still allowed) if no toolchain was declared
earlier.
With this change, rules_go no longer requires an update after a new Go
version is released.
Fixes #2405
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6,7 +6,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_depe go_rules_dependencies(is_rules_go = True) -go_register_toolchains() +go_register_toolchains(version = "1.15.5") http_archive( name = "com_google_protobuf", |