go-grpc-middleware
go-grpc-middleware copied to clipboard
Start using gorelease (https://godoc.org/golang.org/x/exp/cmd/gorelease)
Pulled from https://github.com/grpc-ecosystem/go-grpc-middleware/issues/275 for visibility.
This is a nifty tool. Can you elaborate on expected features?
gorelease -base=v1 tag -version=???
Maybe @johanbrandhorst has ideas? I never used gorelease and also we don't build binaries in this project, so what we can leverage? (:
gorelease is different from goreleaser, which builds binaries. gorelease maintains a compatibility promise. We use it in the grpc-gateway, and we could use it here too.
I could see a few uses for this:
- Evaluate compliance with v1 (is not required but is helpful for documentation)
- Evaluate each new PR in v2 against
v2to determine if API promises were broken grpc-gateway does this
I'm guessing that the latter is the desired use of this tool. Since v2 is still undergoing API changes, we can't enforce this as a build check. So is the intention to add this as a new github action workflow that will get marked required after the API is settled?