diff --git a/py/ci/postUpgrade/__main__.py b/py/ci/postUpgrade/__main__.py index aca0fee8bc..12e9bbce52 100644 --- a/py/ci/postUpgrade/__main__.py +++ b/py/ci/postUpgrade/__main__.py @@ -24,14 +24,13 @@ def run(*args, env = {}, **kwargs): def bazel(args: list[str] = [], **kwargs): return run( - ["npx", "--yes", "@bazel/bazelisk", - "--tool_tag=postupgrade"] + args, + ["npx", "--yes", "@bazel/bazelisk"] + args, check=True, **kwargs, ) def bazel_run(args: list[str] = [], env: dict[str, str] = {}, **kwargs): return bazel( - ["run"] + args, + ["run", "--tool_tag=postupgrade"] + args, **kwargs, )