From 430f2f30bec850a380395121594bddaee2e9137c Mon Sep 17 00:00:00 2001 From: UebelAndre Date: Thu, 5 Dec 2024 10:51:57 -0800 Subject: [PATCH] Fix missing bzlmod extensions --- .bcr/config.yml | 7 ++++++- .bcr/extensions/bindgen/metadata.template.json | 2 +- .bcr/extensions/prost/metadata.template.json | 2 +- .bcr/extensions/protobuf/metadata.template.json | 2 +- .bcr/extensions/wasm_bindgen/metadata.template.json | 2 +- .github/workflows/release.yaml | 5 +++-- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.bcr/config.yml b/.bcr/config.yml index 2b8e1b41f9..015bf25d70 100644 --- a/.bcr/config.yml +++ b/.bcr/config.yml @@ -1,4 +1,9 @@ fixedReleaser: login: scentini email: 11149636+scentini@users.noreply.github.com - moduleRoots: [".", "extensions"] + moduleRoots: + - "." + - "extensions/bindgen" + - "extensions/prost" + - "extensions/protobuf" + - "extensions/wasm_bindgen" diff --git a/.bcr/extensions/bindgen/metadata.template.json b/.bcr/extensions/bindgen/metadata.template.json index 6e5e9bd1c6..2bff30128e 100644 --- a/.bcr/extensions/bindgen/metadata.template.json +++ b/.bcr/extensions/bindgen/metadata.template.json @@ -1,5 +1,5 @@ { - "homepage": "https://github.com/bazelbuild/rules_rust/extensions/bindgen", + "homepage": "https://github.com/bazelbuild/rules_rust/tree/main/extensions/bindgen", "maintainers": [ { "email": "26427366+UebelAndre@users.noreply.github.com", diff --git a/.bcr/extensions/prost/metadata.template.json b/.bcr/extensions/prost/metadata.template.json index fa1dee46ac..51779ec818 100644 --- a/.bcr/extensions/prost/metadata.template.json +++ b/.bcr/extensions/prost/metadata.template.json @@ -1,5 +1,5 @@ { - "homepage": "https://github.com/bazelbuild/rules_rust/extensions/prost", + "homepage": "https://github.com/bazelbuild/rules_rust/tree/main/extensions/prost", "maintainers": [ { "email": "26427366+UebelAndre@users.noreply.github.com", diff --git a/.bcr/extensions/protobuf/metadata.template.json b/.bcr/extensions/protobuf/metadata.template.json index daeca8db68..c6a4a18fc0 100644 --- a/.bcr/extensions/protobuf/metadata.template.json +++ b/.bcr/extensions/protobuf/metadata.template.json @@ -1,5 +1,5 @@ { - "homepage": "https://github.com/bazelbuild/rules_rust/extensions/protobuf", + "homepage": "https://github.com/bazelbuild/rules_rust/tree/main/extensions/protobuf", "maintainers": [ { "email": "26427366+UebelAndre@users.noreply.github.com", diff --git a/.bcr/extensions/wasm_bindgen/metadata.template.json b/.bcr/extensions/wasm_bindgen/metadata.template.json index efb6d9b671..31bfbe5d7e 100644 --- a/.bcr/extensions/wasm_bindgen/metadata.template.json +++ b/.bcr/extensions/wasm_bindgen/metadata.template.json @@ -1,5 +1,5 @@ { - "homepage": "https://github.com/bazelbuild/rules_rust/extensions/wasm_bindgen", + "homepage": "https://github.com/bazelbuild/rules_rust/tree/main/extensions/wasm_bindgen", "maintainers": [ { "email": "26427366+UebelAndre@users.noreply.github.com", diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2c7afddf5d..de46966e4b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -137,11 +137,12 @@ jobs: # `examples/bzlmod` is included for the BCR presubmit; it must appear before --exclude="examples" tar -czf ${{ github.workspace }}/.github/rules_rust.tar.gz \ -C ${{ github.workspace }} \ - --exclude=".git" --exclude=".github" \ + --exclude=".git" \ + --exclude=".github" \ --exclude="crate_universe/target" \ + --exclude="extensions" \ examples/bzlmod \ --exclude="examples" \ - --exclude="extensions" \ . # Save the sha256 checksum of the distro archive to the environment