Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Wang <[email protected]>
  • Loading branch information
whynowy committed Dec 6, 2023
1 parent afc49c7 commit a318e71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHELL:=/bin/bash

CURRENT_DIR=$(shell pwd)

ORG?=numrproj
ORG?=numaproj
PROJECT?=numaflow
BRANCH?=main

Expand Down
4 changes: 3 additions & 1 deletion hack/protogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ if [ "`command -v protoc-gen-go-grpc`" = "" ]; then
go install -mod=vendor ./vendor/google.golang.org/grpc/cmd/protoc-gen-go-grpc
fi

mkdir -p ${REPO_ROOT}/dist

ORG=${ORG:-numaproj}
PROJECT=${PROJECT:-numaflow}
BRANCH=${BRANCH:-main}

mkdir -p ${REPO_ROOT}/dist
REMOTE_URL="https://raw.githubusercontent.com/${ORG}/${PROJECT}/${BRANCH}/pkg/apis/proto"
echo "REMOTE_URL: $REMOTE_URL"

curl -Ls -o ${REPO_ROOT}/dist/map.proto ${REMOTE_URL}/map/v1/map.proto
curl -Ls -o ${REPO_ROOT}/dist/reduce.proto ${REMOTE_URL}/reduce/v1/reduce.proto
Expand Down

0 comments on commit a318e71

Please sign in to comment.