User-Agent version is not set correctly when using go install
ainar-g opened this issue · 0 comments
ainar-g commented
For tagged releases installed using go install
, the actual tag version can be obtained from runtime/debug.BuildInfo
. See go mod -m "$( which gocurl )"
for an example of what can be obtained from there.