mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
Don't create toolchains for prebuilt protoc if we're not on a release
This commit is contained in:
parent
9d0fe48472
commit
d7c67c9ce7
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ In particular, see comment below on the toolchain#toolchain attribute.
|
|||
|
||||
load("//toolchain:platforms.bzl", "PROTOBUF_PLATFORMS")
|
||||
load(":protoc_authenticity.bzl", "protoc_authenticity")
|
||||
load(":tool_integrity.bzl", "RELEASE_VERSION")
|
||||
|
||||
[
|
||||
toolchain(
|
||||
|
|
@ -19,6 +20,7 @@ load(":protoc_authenticity.bzl", "protoc_authenticity")
|
|||
toolchain_type = "@com_google_protobuf//bazel/private:proto_toolchain_type",
|
||||
)
|
||||
for platform, meta in PROTOBUF_PLATFORMS.items()
|
||||
if not RELEASE_VERSION.endswith("-dev")
|
||||
]
|
||||
|
||||
# Support verification of user-registered toolchains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue