We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the mod feature of newly released go1.11 and importing go-rpio as a library causes a downgrade to v3.0.0.
v3.0.0
In go.mod file, the version is listed as github.com/stianeikeland/go-rpio v3.0.0+incompatible, where:
go.mod
github.com/stianeikeland/go-rpio v3.0.0+incompatible
4.0.0
4.1.0
v
+incompatible
Adding the tags v4.0.0 and v4.1.0 should fix the immediate problem.
v4.0.0
v4.1.0
more information about +incompatible flag form another Go project.
The text was updated successfully, but these errors were encountered:
Hey, thanks, could you try again now? v4.3.0 was just released and tagged.
v4.3.0
Sorry, something went wrong.
I can update to v4.2.0+incompatible, but not v4.3.0
Attempting to add v4 to import path results in this error:
github.com/stianeikeland/go-rpio/v4 go build github.com/stianeikeland/go-rpio/v4: no Go files in
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
I think module github.com/stianeikeland/go-rpio in go.mod need to be changed to module github.com/stianeikeland/go-rpio/v4
module github.com/stianeikeland/go-rpio
module github.com/stianeikeland/go-rpio/v4
Thanks man, think I got it working now, added /v4 and published a new release. Seems to be working on my end.
No branches or pull requests
Using the mod feature of newly released go1.11 and importing go-rpio as a library causes a downgrade to
v3.0.0
.In
go.mod
file, the version is listed asgithub.com/stianeikeland/go-rpio v3.0.0+incompatible
, where:v3.0.0
is the larges version tagged following the SIV, since4.0.0
and4.1.0
are missingv
so they are ignored.+incompatible
prevent the import path from adding the major version.Adding the tags
v4.0.0
andv4.1.0
should fix the immediate problem.more information about +incompatible flag form another Go project.
The text was updated successfully, but these errors were encountered: