Privado-Inc / privado-core

The heart & core of Privado code scanner
GNU Lesser General Public License v3.0
27 stars 17 forks source link

Not able to install specific privado versions like v2.2.9 #1094

Open anandkgpt03 opened 5 months ago

anandkgpt03 commented 5 months ago

I am facing a issue in installing the specific version of privado, not an issue with @latest, only when specifying versions like v2.2.9 or v2.2.8 etc

$ go install github.com/Privado-Inc/privado-cli@v2.2.9
go: github.com/Privado-Inc/privado-cli@v2.2.9: github.com/Privado-Inc/privado-cli@v2.2.9: invalid version: module contains a go.mod file, so module path must match major version ("github.com/Privado-Inc/privado-cli/v2")

Tried this also

$ go install github.com/Privado-Inc/privado-cli/v2@v2.2.9
go: github.com/Privado-Inc/privado-cli/v2@v2.2.9: github.com/Privado-Inc/privado-cli@v2.2.9: invalid version: module contains a go.mod file, so module path must match major version ("github.com/Privado-Inc/privado-cli/v2")
prath13amesh commented 6 days ago

Hello @anandkgpt03 , When I went around the web searching for the versioning issue you are facing, I came to know that this is regarding the go.mod file in general. You might need a SHA instead to get over with this. Below attached are few references that might help you.

https://github.com/golang/go/issues/35732 https://github.com/NVIDIA/nvidia-container-runtime/issues/141

Please do let me know if you are able to get through

Regards