Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indirect .files_to_run and .default_runfiles through DefaultInfo. #848

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/releasing/git.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down