Skip to content

Commit 4a1b660

Browse files
authored
fix: manually add [email protected] (#6582)
The automatic publish-to-bcr failed here because the archive was made without the directory prefix. We should publish a new release with the corrected prefix, but we can add this one manually to ensure compatibility with the existing release tag: https://github.com/buildbuddy-io/buildbuddy-toolchain/releases/tag/v0.0.3 https://github.com/buildbuddy-io/buildbuddy-toolchain/actions/runs/19486394659/job/55769510514#step:10:24
1 parent 4e06b9e commit 4a1b660

File tree

5 files changed

+69
-1
lines changed

5 files changed

+69
-1
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
module(
2+
name = "toolchains_buildbuddy",
3+
version = "0.0.3",
4+
repo_name = "io_buildbuddy_buildbuddy_toolchain",
5+
)
6+
7+
bazel_dep(name = "rules_cc", version = "0.0.17")
8+
bazel_dep(name = "rules_java", version = "8.16.1")
9+
bazel_dep(name = "platforms", version = "0.0.10")
10+
11+
bazel_dep(
12+
name = "rules_bazel_integration_test",
13+
version = "0.34.0",
14+
dev_dependency = True,
15+
)
16+
bazel_dep(
17+
name = "buildifier_prebuilt",
18+
version = "8.2.0.2",
19+
dev_dependency = True,
20+
)
21+
22+
buildbuddy = use_extension("//:extensions.bzl", "buildbuddy")
23+
use_repo(buildbuddy, "buildbuddy_toolchain")
24+
25+
register_toolchains(
26+
"//toolchains/cc:all",
27+
)
28+
29+
bazel_binaries = use_extension(
30+
"@rules_bazel_integration_test//:extensions.bzl",
31+
"bazel_binaries",
32+
dev_dependency = True,
33+
)
34+
bazel_binaries.download(version_file = "//:.bazelversion")
35+
use_repo(bazel_binaries, "bazel_binaries", "bazel_binaries_bazelisk", "build_bazel_bazel_.bazelversion")
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,5 +1,6 @@
5+
module(
6+
name = "toolchains_buildbuddy",
7+
+ version = "0.0.3",
8+
repo_name = "io_buildbuddy_buildbuddy_toolchain",
9+
)
10+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# We recommend included a bcr test workspace that exercises your ruleset with bzlmod.
2+
# For an example, see https://github.com/aspect-build/bazel-lib/tree/main/e2e/bzlmod.
3+
bcr_test_module:
4+
module_path: "examples/bzlmod"
5+
matrix:
6+
platform: ["ubuntu2004"]
7+
bazel: [7.x]
8+
tasks:
9+
build_module:
10+
name: "build module"
11+
platform: ${{ platform }}
12+
bazel: ${{ bazel }}
13+
build_targets:
14+
- "//..."
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"integrity": "sha256-5zVDos35dx9w9zmrcenyTg8tKwSg1/nUAZPLK8mo5KI=",
3+
"url": "https://github.com/buildbuddy-io/buildbuddy-toolchain/releases/download/v0.0.3/buildbuddy-toolchain-v0.0.3.tar.gz",
4+
"patches": {
5+
"module_dot_bazel_version.patch": "sha256-+z0UFLQ9UpqCTccBRSQMZ2XCS9HQxS4a7YSQz1KwP/4="
6+
},
7+
"patch_strip": 1
8+
}

modules/toolchains_buildbuddy/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
],
2020
"versions": [
2121
"0.0.1",
22-
"0.0.2"
22+
"0.0.2",
23+
"0.0.3"
2324
],
2425
"yanked_versions": {}
2526
}

0 commit comments

Comments
 (0)