Skip to content

Commit

Permalink
Prevent downgrading platforms (#3071) (#3076)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpsauer authored Mar 31, 2022
1 parent 4013954 commit def9dfb
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions go/private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,6 @@ def go_rules_dependencies():
if getattr(native, "bazel_version", None):
versions.check(MINIMUM_BAZEL_VERSION, bazel_version = native.bazel_version)

# Repository of standard constraint settings and values.
# Bazel declares this automatically after 0.28.0, but it's better to
# define an explicit version.
# releaser:upgrade-dep bazelbuild platforms
_maybe(
http_archive,
name = "platforms",
# 0.0.5, latest as of 2022-03-14
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
],
sha256 = "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407",
strip_prefix = "",
)

# Needed by rules_go implementation and tests.
# We can't call bazel_skylib_workspace from here. At the moment, it's only
# used to register unittest toolchains, which rules_go does not need.
Expand Down

0 comments on commit def9dfb

Please sign in to comment.