Skip to content

Commit

Permalink
Using buf to produce protoc artifacts for release
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Nov 21, 2024
1 parent 67eb95a commit cc4b021
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ tasks:

protoc:collect:
desc: Create a zip file containing all .proto files in DIST_DIR
dir: rpc
cmds:
- mkdir --parents ../{{.DIST_DIR}}
- zip -r ../{{.DIST_DIR}}/{{.PROJECT_NAME}}_{{.VERSION}}_proto.zip * -i \*.proto
- mkdir --parents {{.DIST_DIR}}
- buf export . -o {{.DIST_DIR}}/proto
- cd {{.DIST_DIR}}/proto && zip -r ../{{.PROJECT_NAME}}_{{.VERSION}}_proto.zip .

protoc:format:
desc: Perform formatting of the protobuf definitions
Expand Down

0 comments on commit cc4b021

Please sign in to comment.