Skip to content

Commit

Permalink
give v2 proto different package
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonGamez committed Mar 16, 2021
1 parent 116201a commit 0d81861
Show file tree
Hide file tree
Showing 4 changed files with 206 additions and 198 deletions.
5 changes: 3 additions & 2 deletions hack/generate-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ docker run --rm gen-proto cat v1/skaffold.pb.go > proto/v1/skaffold.pb.go
docker run --rm gen-proto cat v1/skaffold.pb.gw.go > proto/v1/skaffold.pb.gw.go

# Copy v2 files
docker run --rm gen-proto cat v2/skaffold.pb.go > proto/v2/skaffold.pb.go
docker run --rm gen-proto cat v2/skaffold.pb.gw.go > proto/v2/skaffold.pb.gw.go
docker run --rm gen-proto ls /proto/
docker run --rm gen-proto cat /proto/github.com/GoogleContainerTools/skaffold/proto/v2/skaffold.pb.go > proto/v2/skaffold.pb.go
docker run --rm gen-proto cat /proto/github.com/GoogleContainerTools/skaffold/proto/v2/skaffold.pb.gw.go > proto/v2/skaffold.pb.gw.go

# Get docs from docker image
docker run --rm gen-proto cat v1/index.md > docs/content/en/docs/references/api/grpc.md
Expand Down
Loading

0 comments on commit 0d81861

Please sign in to comment.