We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67eb95a commit cc4b021Copy full SHA for cc4b021
Taskfile.yml
@@ -258,10 +258,10 @@ tasks:
258
259
protoc:collect:
260
desc: Create a zip file containing all .proto files in DIST_DIR
261
- dir: rpc
262
cmds:
263
- - mkdir --parents ../{{.DIST_DIR}}
264
- - 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 .
265
266
protoc:format:
267
desc: Perform formatting of the protobuf definitions
0 commit comments