From beba874a98f43a216eff1e2835b43c710eadc9f8 Mon Sep 17 00:00:00 2001 From: Elias Kassell Date: Fri, 6 Jan 2023 11:31:41 +0000 Subject: [PATCH 1/2] Fix bazel build //... for our distro by bumping versions --- .bazelversion | 2 +- tools/gcloud/repository_rules.bzl | 2 +- vscode/server.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bazelversion b/.bazelversion index 1545d9665..0062ac971 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -3.5.0 +5.0.0 diff --git a/tools/gcloud/repository_rules.bzl b/tools/gcloud/repository_rules.bzl index 7ca0c1ccf..3ca3a4e5e 100644 --- a/tools/gcloud/repository_rules.bzl +++ b/tools/gcloud/repository_rules.bzl @@ -11,6 +11,6 @@ def _gcloud_sdk_impl(ctx): gcloud_sdk = repository_rule( implementation = _gcloud_sdk_impl, attrs = { - "version": attr.string(default = "318.0.0"), + "version": attr.string(default = "412.0.0"), }, ) diff --git a/vscode/server.ts b/vscode/server.ts index 3a7d9840d..1ac15a94e 100644 --- a/vscode/server.ts +++ b/vscode/server.ts @@ -85,7 +85,7 @@ function gatherAllActions( function retrieveLinkedFileName(ref: string) { const allActions = gatherAllActions(); - const foundCompileAction = allActions.find(action => action.name.split(".").slice(-1)[0] === ref); + const foundCompileAction = allActions.find(action => action.target.name === ref); return foundCompileAction.fileName; } From 31c56797f805bbb67f830ef557228000d2a43a65 Mon Sep 17 00:00:00 2001 From: Elias Kassell Date: Fri, 6 Jan 2023 11:33:56 +0000 Subject: [PATCH 2/2] Bump bazel to 5.4.0 --- .bazelversion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelversion b/.bazelversion index 0062ac971..8a30e8f94 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -5.0.0 +5.4.0