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 semantic versioning is broken #16

Open
9er opened this issue Feb 7, 2023 · 1 comment
Open

Go semantic versioning is broken #16

9er opened this issue Feb 7, 2023 · 1 comment

Comments

@9er
Copy link

9er commented Feb 7, 2023

The go docs state that

If the module is version v2 or higher, the major version of the module must be included as a /vN at the end of the module paths

When I'm using this package, go always "updates" to v2.0.4+incompatible. When I'm trying to pin it to the v2.2.1 (because I'm running into the time window bug), go gives me:

go: github.com/asecurityteam/rolling@v2.2.1: invalid version: module contains a go.mod file, so module path must match major version ("github.com/asecurityteam/rolling/v2") 

So the v2 part should probably be added to the module path.

@Dainerx
Copy link

Dainerx commented Jan 16, 2024

Same here, any updates on this issue?

go version go1.21.5 windows/amd64

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

2 participants