You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to vendor the aws-vault command. As I understand it it's impossible to vendor the v5.x line of Git tags.
If I add
github.com/99designs/aws-vault v5.4.4
to my go.mod file and then run go mod vendor, I get this error:
require github.com/99designs/aws-vault: version "v5.4.4" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v5
This error message is rather unhelpfully explained here: golang/go#35732
The v1.9.1-0.[…] version string is a pseudo-version generated from the requested commit.
From the perspective of the go command, this is working as designed.
So it seems like you're supposed to put the source code in a folder labeled "v5", I think? I don't really know how this is supposed to work, but I'd like to be able to vendor the project at the latest version...
The text was updated successfully, but these errors were encountered:
I am trying to vendor the aws-vault command. As I understand it it's impossible to vendor the v5.x line of Git tags.
If I add
to my go.mod file and then run
go mod vendor
, I get this error:This error message is rather unhelpfully explained here: golang/go#35732
So it seems like you're supposed to put the source code in a folder labeled "v5", I think? I don't really know how this is supposed to work, but I'd like to be able to vendor the project at the latest version...
The text was updated successfully, but these errors were encountered: