-
Notifications
You must be signed in to change notification settings - Fork 103
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
Broken module version management #65
Comments
Confirming the issue, seems that the v2.0.0 tag is set to the same commit as v1.0.0 is which must be wrong:
|
Hey! Thanks for reporting this. It's wrong indeed, I'll remove the v2 tag and remake it on the commit |
Unfortunately a
Let's hope that go's sum database will accept these changes. :-) |
Confirming this should work! 👍 However, in this case there wouldn't be a real change between v2.0.0 and v2.0.1, so you might completely ditch v2.0.2 and set v2.0.1 to commit 5b56187 which is the actual minor change @elivlo introduced (seen from actual code changes), while keeping v2.0.0 with 2d0165c as already suggested. But this is a non-technical proposal seen from a semver and code-changes and not Go Module compatibility point-of-view. |
Should be good now, can you confirm? :)
|
You accidently set this to the wrong commit, needs to be:
|
Oh right nice catch, my bad! The tag should work now! |
Did you publish? |
The tags have been pushed yes, it should be enough for the go module to work, no? |
I cloned it but tag v2.0.2 still has the wrong commit:
|
Alright this time should be the one. Turns out I hadn't pulled so I didn't have that commit and did not notice it errored 😅 |
No problem. The Issue should be fixed. |
Hi, I recently had many issues with go complaining about checksum mismatches when trying to "go get" this module with version v2 or greater.
I think I found the issue:
Go got the checksum mismatch because v2.0.0 does not contain a go.mod file and then got "incompatible"
https://stackoverflow.com/questions/57355929/what-does-incompatible-in-go-mod-mean-will-it-cause-harm
So I ask you to set the tag v2.0.0 to a commit where the go.mod is correct.
You may set tag v2.0.0 to the same commit as v2.0.1.
The text was updated successfully, but these errors were encountered: