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
lingyuan2014 opened this issue May 15, 2017 · 2 comments
Closed

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

lingyuan2014 opened this issue May 15, 2017 · 2 comments

Comments

@lingyuan2014
Copy link

lingyuan2014 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)

@lingyuan2014
Copy link
Author

That works. Thanks a lot.

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