File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 12
12
release :
13
13
uses : bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v6
14
14
with :
15
- release_files : rules_protoc -*.tar.gz
15
+ release_files : toolchains_protoc -*.tar.gz
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ TAG=${GITHUB_REF_NAME}
8
8
# The prefix is chosen to match what GitHub generates for source archives
9
9
# This guarantees that users can easily switch from a released artifact to a source archive
10
10
# 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"
13
13
14
14
# NB: configuration for 'git archive' is in /.gitattributes
15
15
git archive --format=tar --prefix=${PREFIX} / ${TAG} | gzip > $ARCHIVE
@@ -35,7 +35,7 @@ http_archive(
35
35
name = "toolchains_protoc",
36
36
sha256 = "${SHA} ",
37
37
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} ",
39
39
)
40
40
EOF
41
41
Original file line number Diff line number Diff line change @@ -28,19 +28,19 @@ Run `bazel run //:gazelle` to keep them up-to-date.
28
28
## Using this as a development dependency of other rules
29
29
30
30
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
32
32
WORKSPACE in the integration_tests folder.
33
33
34
34
To always tell Bazel to use this directory rather than some release
35
35
artifact or a version fetched from the internet, run this from this
36
36
directory:
37
37
38
38
``` sh
39
- OVERRIDE=" --override_repository=rules_protoc =$( pwd) /rules_protoc "
39
+ OVERRIDE=" --override_repository=toolchains_protoc =$( pwd) /toolchains_protoc "
40
40
echo " common $OVERRIDE " >> ~ /.bazelrc
41
41
```
42
42
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.
44
44
45
45
## Releasing
46
46
Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ common --incompatible_enable_proto_toolchain_resolution
52
52
```
53
53
54
54
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 >
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ local_repository(
7
7
#---SNIP--- Below here is re-used in the workspace snippet published on releases
8
8
9
9
######################
10
- # rules_protoc setup #
10
+ # toolchains_protoc setup #
11
11
######################
12
- # Fetches the rules_protoc dependencies.
12
+ # Fetches the toolchains_protoc dependencies.
13
13
# If you want to have a different version of some dependency,
14
14
# you should fetch it *before* calling this.
15
15
# Alternatively, you can skip calling this function, so long as you've
You can’t perform that action at this time.
0 commit comments