Skip to content

doc/cli: use latest release of src-cli

Administrator requested to merge k/20220504-go-generate-1.18 into main

Created by: keegancsmith

go1.18 doesn't support go get to install a binary anymore. go install still doesn't work due to the replace directive. So I have over engineered something which instead fetches the latest release of src-cli and runs that.

One downside on CI is we go from using the local go module caching proxy to directly hitting GitHub. Maybe what we need instead is a way for asdf to install src-cli?

Test Plan: go generate ./doc/cli/references

Merge request reports

Loading