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 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
Original file line number Diff line number Diff 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
1515git 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) 
4040EOF 
4141
Original file line number Diff line number Diff 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
3030You'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
3232WORKSPACE in the integration_tests folder.
3333
3434To always tell Bazel to use this directory rather than some release
3535artifact or a version fetched from the internet, run this from this
3636directory:
3737
3838``` sh 
39- OVERRIDE=" --override_repository=rules_protoc =$( pwd) rules_protoc " 
39+ OVERRIDE=" --override_repository=toolchains_protoc =$( pwd) toolchains_protoc " 
4040echo  " 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
Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ common --incompatible_enable_proto_toolchain_resolution
5252``` 
5353
5454Follow 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(
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 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments