Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go install fails when using a fully qualified semver #2392

Open
corbancloud-wk opened this issue Jan 18, 2024 · 0 comments
Open

go install fails when using a fully qualified semver #2392

corbancloud-wk opened this issue Jan 18, 2024 · 0 comments

Comments

@corbancloud-wk
Copy link

When trying to pin down dependencies in our Github Actions CI I tried to install frugal at a specific version and it failed.

go install github.com/Workiva/frugal@v3.17.6 fails with the error:
go: github.com/Workiva/frugal@v3.17.6: github.com/Workiva/frugal@v3.17.6: invalid version: module contains a go.mod file, so module path must match major version ("github.com/Workiva/frugal/v3")

As I understand this means that our go.mod is missing the major version indicator in the module name, which does seem to be the case at time of writing

module github.com/Workiva/frugal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant