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

[Question] How do I use semantic versions? #392

Closed
fiibbb opened this issue May 15, 2017 · 2 comments
Closed

[Question] How do I use semantic versions? #392

fiibbb opened this issue May 15, 2017 · 2 comments

Comments

@fiibbb
Copy link

fiibbb commented May 15, 2017

I use glide to fetch semantic version releases. But the compiler plugin protoc-gen-grpc-gateway or protoc-gen-swagger need to be get with go get, which always fetches the latest commit (as far as I know). So sometimes my runtime library is the latest released version, eg 1.2.0, but my compiler plugin is generating code with commits ahead of 1.2.0, and the generated code is not compatible with runtime library. How do people solve this problem?

@tamalsaha
Copy link
Collaborator

You can install those plugins from the vendor folder. See here: #384 (comment)

@fiibbb
Copy link
Author

fiibbb commented May 15, 2017

That works. Thanks a lot.

@fiibbb fiibbb closed this as completed May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants