Skip to content

Commit d90040e

Browse files
committed
fix: stray references to rules_protoc
1 parent 5ba5d76 commit d90040e

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ jobs:
1212
release:
1313
uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v6
1414
with:
15-
release_files: rules_protoc-*.tar.gz
15+
release_files: toolchains_protoc-*.tar.gz

.github/workflows/release_prep.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ TAG=${GITHUB_REF_NAME}
88
# The prefix is chosen to match what GitHub generates for source archives
99
# This guarantees that users can easily switch from a released artifact to a source archive
1010
# with minimal differences in their code (e.g. strip_prefix remains the same)
11-
PREFIX="rules_protoc-${TAG:1}"
12-
ARCHIVE="rules_protoc-$TAG.tar.gz"
11+
PREFIX="toolchains_protoc-${TAG:1}"
12+
ARCHIVE="toolchains_protoc-$TAG.tar.gz"
1313

1414
# NB: configuration for 'git archive' is in /.gitattributes
1515
git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE
@@ -35,7 +35,7 @@ http_archive(
3535
name = "toolchains_protoc",
3636
sha256 = "${SHA}",
3737
strip_prefix = "${PREFIX}",
38-
url = "https://github.com/alexeagle/rules_protoc/releases/download/${TAG}/${ARCHIVE}",
38+
url = "https://github.com/alexeagle/toolchains_protoc/releases/download/${TAG}/${ARCHIVE}",
3939
)
4040
EOF
4141

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ Run `bazel run //:gazelle` to keep them up-to-date.
2828
## Using this as a development dependency of other rules
2929

3030
You'll commonly find that you develop in another WORKSPACE, such as
31-
some other ruleset that depends on rules_protoc, or in a nested
31+
some other ruleset that depends on toolchains_protoc, or in a nested
3232
WORKSPACE in the integration_tests folder.
3333

3434
To always tell Bazel to use this directory rather than some release
3535
artifact or a version fetched from the internet, run this from this
3636
directory:
3737

3838
```sh
39-
OVERRIDE="--override_repository=rules_protoc=$(pwd)/rules_protoc"
39+
OVERRIDE="--override_repository=toolchains_protoc=$(pwd)/toolchains_protoc"
4040
echo "common $OVERRIDE" >> ~/.bazelrc
4141
```
4242

43-
This means that any usage of `@rules_protoc` on your system will point to this folder.
43+
This means that any usage of `@toolchains_protoc` on your system will point to this folder.
4444

4545
## Releasing
4646

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ common --incompatible_enable_proto_toolchain_resolution
5252
```
5353

5454
Follow instructions from the release you wish to use:
55-
<https://github.com/alexeagle/rules_protoc/releases>
55+
<https://github.com/alexeagle/toolchains_protoc/releases>

e2e/smoke/WORKSPACE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ local_repository(
77
#---SNIP--- Below here is re-used in the workspace snippet published on releases
88

99
######################
10-
# rules_protoc setup #
10+
# toolchains_protoc setup #
1111
######################
12-
# Fetches the rules_protoc dependencies.
12+
# Fetches the toolchains_protoc dependencies.
1313
# If you want to have a different version of some dependency,
1414
# you should fetch it *before* calling this.
1515
# Alternatively, you can skip calling this function, so long as you've

0 commit comments

Comments
 (0)