From a5168a6e969089c9e4616d259c79155439f01941 Mon Sep 17 00:00:00 2001 From: deannagarcia <69992229+deannagarcia@users.noreply.github.com> Date: Wed, 23 Feb 2022 16:45:56 -0800 Subject: [PATCH] Fix package naming rule Remove quotes around CPU since we want the variable evaluated instead of the string. This will allow the win64 build to get the correct name. --- protobuf_release.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf_release.bzl b/protobuf_release.bzl index cac0a0c52a..d883dbe971 100644 --- a/protobuf_release.bzl +++ b/protobuf_release.bzl @@ -27,7 +27,7 @@ def _package_naming_impl(ctx): elif "linux" in system_name: values["platform"] = "linux-" + cpu elif "mingw" in system_name: - if "cpu" == "x86_64": + if cpu == "x86_64": values["platform"] = "win64" else: values["platform"] = "win32"