File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ The generated files will be found in `docs/_build`.
140140
141141``` sh
142142pip3 install -r tools/requirements.txt
143+ export DAPR_BRANCH=release-1.16 # Optional, defaults to master
143144./tools/regen_grpcclient.sh
144145```
145146
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Run the following commands:
1313
1414``` sh
1515pip3 install -r tools/requirements.txt
16+ export DAPR_BRANCH=release-1.16 # Optional, defaults to master
1617./tools/regen_grpcclient.sh
1718```
1819
Original file line number Diff line number Diff line change 1616# Path to store output
1717PROTO_PATH=" dapr/proto"
1818SRC=.
19+ DAPR_BRANCH=${DAPR_BRANCH:- master}
1920
2021# Http request CLI
2122HTTP_REQUEST_CLI=curl
@@ -38,7 +39,7 @@ downloadFile() {
3839 FILE_PATH=" ${PROTO_PATH} /${PKG_NAME} /v1"
3940
4041 # URL for proto file
41- PROTO_URL=" https://raw.githubusercontent.com/dapr/dapr/master /dapr/proto/${PKG_NAME} /v1/${FILE_NAME} .proto"
42+ PROTO_URL=" https://raw.githubusercontent.com/dapr/dapr/${DAPR_BRANCH} /dapr/proto/${PKG_NAME} /v1/${FILE_NAME} .proto"
4243
4344 mkdir -p " ${FILE_PATH} "
4445
You can’t perform that action at this time.
0 commit comments