Skip to content

Commit

Permalink
Indirect .files_to_run and .default_runfiles through DefaultInfo. (#848)
Browse files Browse the repository at this point in the history
The old ways are going away.
  • Loading branch information
lberki authored Apr 10, 2024
2 parents a56b1d9 + 79d1f2c commit 59e682d
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 59e682d

Please sign in to comment.