ok, so essentially same as we do here: https://github.com/RedHatInsights/authz/blob/main/cmd/tools.go . That's not really sufficient, sadly, see johans blogpost here: https://jbrandhorst.com/post/plugin-versioning/ - the shell scripts from the blog solution don't need to be there when you use buf (see my discussion in buf slack, you can use the go run approach in the yaml)), but yes, bingo looks like the actual "go should do that for me" solution to everything 😉
v
vroldanbet
05/15/2023, 9:43 AM
we do check in CI with the buf GitHub Action, tho, which gives us a hint that we did used the wrong version locally. However the pain of figuring out which version to use to make sure we generate the same as buf is still there