Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bufbuild plugin references #2253

Merged
merged 3 commits into from
Jun 6, 2023
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: v1
managed:
enabled: true
plugins:
- remote: buf.build/protocolbuffers/plugins/go:v1.28.1-1
- plugin: buf.build/protocolbuffers/go:v1.30.0
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Newer versions of the buf CLI use the plugin key for both remote/local plugin references
  2. I updated to the latest versions, although can also omit the versions so it always uses the latest:
plugins:
  - plugin: buf.build/protocolbuffers/go

out: internal
opt: paths=source_relative
- remote: buf.build/planetscale/plugins/vtproto:v0.3.0
- plugin: buf.build/community/planetscale-vtprotobuf:v0.4.0
out: internal
opt: paths=source_relative