From 79d1f2cd61aa0ebc381ee50cb129fe02f609be4a Mon Sep 17 00:00:00 2001 From: "Lukacs T. Berki" Date: Wed, 10 Apr 2024 11:16:16 +0000 Subject: [PATCH] Indirect .files_to_run and .default_runfiles through DefaultInfo. The old ways are going away. --- pkg/releasing/git.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/releasing/git.bzl b/pkg/releasing/git.bzl index 787e75ba..f37e6c6a 100644 --- a/pkg/releasing/git.bzl +++ b/pkg/releasing/git.bzl @@ -26,9 +26,9 @@ def _git_changelog_impl(ctx): if toolchain.path: args.add("--git_path", toolchain.path) else: - executable = toolchain.label.files_to_run.executable + executable = toolchain.label[DefaultInfo].files_to_run.executable tools.append(executable) - tools.append(toolchain.label.default_runfiles.files.to_list()) + tools.append(toolchain.label[DefaultInfo].default_runfiles.files.to_list()) args.add("--git_path", executable.path) args.add("--git_root", toolchain.client_top) args.add("--from_ref", ctx.attr.from_ref)