Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ The generated files will be found in `docs/_build`.

```sh
pip3 install -r tools/requirements.txt
export DAPR_BRANCH=release-1.16 # Optional, defaults to master
./tools/regen_grpcclient.sh
```

Expand Down
1 change: 1 addition & 0 deletions dapr/proto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Run the following commands:

```sh
pip3 install -r tools/requirements.txt
export DAPR_BRANCH=release-1.16 # Optional, defaults to master
./tools/regen_grpcclient.sh
```

Expand Down
3 changes: 2 additions & 1 deletion tools/regen_grpcclient.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# Path to store output
PROTO_PATH="dapr/proto"
SRC=.
DAPR_BRANCH=${DAPR_BRANCH:-master}

# Http request CLI
HTTP_REQUEST_CLI=curl
Expand All @@ -38,7 +39,7 @@ downloadFile() {
FILE_PATH="${PROTO_PATH}/${PKG_NAME}/v1"

# URL for proto file
PROTO_URL="https://raw.githubusercontent.com/dapr/dapr/master/dapr/proto/${PKG_NAME}/v1/${FILE_NAME}.proto"
PROTO_URL="https://raw.githubusercontent.com/dapr/dapr/${DAPR_BRANCH}/dapr/proto/${PKG_NAME}/v1/${FILE_NAME}.proto"

mkdir -p "${FILE_PATH}"

Expand Down
Loading