From 44d17cabb67dd90dec5e2c331d1184380f936f82 Mon Sep 17 00:00:00 2001 From: Stephanie DiBenedetto Date: Mon, 17 Mar 2025 12:34:31 -0700 Subject: [PATCH] Fix path for rules_pkg providers.bzl load We use PackageVariablesInfo from rules_pkg for versioning. The previous change bumped the version of our rules_pkg dependency and it looks like that moved the declaring providers.bzl file change to a `pkg/` subdir. This broke our Windows builds/release automation since they use //:dist_zip. We did not catch this during PR testing because we just do `npm test`. --- protobuf_javascript_release.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf_javascript_release.bzl b/protobuf_javascript_release.bzl index 650fc2c..3f9090a 100644 --- a/protobuf_javascript_release.bzl +++ b/protobuf_javascript_release.bzl @@ -1,7 +1,7 @@ """Generates package naming variables for use with rules_pkg.""" load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") -load("@rules_pkg//:providers.bzl", "PackageVariablesInfo") +load("@rules_pkg//pkg:providers.bzl", "PackageVariablesInfo") _PROTOBUF_JAVASCRIPT_VERSION = "3.21.4"