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

protoc-gen-grpc-swift --version #1556

Closed
GaryRudolph opened this issue Jan 25, 2023 · 0 comments · Fixed by #1557
Closed

protoc-gen-grpc-swift --version #1556

GaryRudolph opened this issue Jan 25, 2023 · 0 comments · Fixed by #1557

Comments

@GaryRudolph
Copy link

In my application project I like to store the version used to generate as part of the code generation to know what tools were used to generate the client in our CI/CD scripts. Currently I'm able to output the version of protoc and protoc-gen-swift using --version and I'd like to be able to do similar for protoc-gen-grpc-swift. An example is I'd like to do the following:

protoc --version > generate.versions
protoc-gen-swift --version >> generate.versions
protoc-gen-grpc-swift --version >> generate.versions

As a workaround I am able to output the homebrew information using brew info grpc-swift as I installed it through homebrew.

glbrntt added a commit to glbrntt/grpc-swift that referenced this issue Jan 26, 2023
Motivation:

It can be useful to know the version of the protoc plugin being used.

Modifications:

- Add a "--version" flag to protoc-gen-grpc-swift which prints the
  plugin name and version.

Result:

Resolves grpc#1556
Lukasa pushed a commit that referenced this issue Jan 26, 2023
Motivation:

It can be useful to know the version of the protoc plugin being used.

Modifications:

- Add a "--version" flag to protoc-gen-grpc-swift which prints the
  plugin name and version.

Result:

Resolves #1556
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this issue Aug 24, 2023
Motivation:

It can be useful to know the version of the protoc plugin being used.

Modifications:

- Add a "--version" flag to protoc-gen-grpc-swift which prints the
  plugin name and version.

Result:

Resolves grpc#1556
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this issue Aug 24, 2023
Motivation:

It can be useful to know the version of the protoc plugin being used.

Modifications:

- Add a "--version" flag to protoc-gen-grpc-swift which prints the
  plugin name and version.

Result:

Resolves grpc#1556
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant