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

Major version go module mismatch #335

Closed
compilersh opened this issue Jun 24, 2024 · 2 comments
Closed

Major version go module mismatch #335

compilersh opened this issue Jun 24, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@compilersh
Copy link

compilersh commented Jun 24, 2024

Describe the bug
Your newest version (to date) describes installation process as:
go get github.com/adyen/adyen-go-api-library/[email protected]
This results in an error code:
go: github.com/adyen/adyen-go-api-library/[email protected]: invalid version: module path includes a major version suffix, so major version must match

To Reproduce
Steps to reproduce the behavior:

  1. Initialize a new project
  2. follow instructions on installing the latest Adyen library version

Expected behavior
Adyen should have been installed as a dependency

Actual Behavior
Adyen is rejected since the module version does not match the major version

Additional context
Update your module (v9) to (v10)

Workaround
go get with commit hash pointing to v10.3.0 to omit the major version code:

go get github.com/adyen/adyen-go-api-library/v9@f3e8c04
@jillingk
Copy link
Contributor

Hi @compilersh,

Thanks a lot for bringing this to our attention! I see we missed the part where we have to update the major version (we automated a lot but unfortunately not this part). We will get right on this!

Best, Jilling
Adyen

@wboereboom wboereboom added the bug Something isn't working label Jun 25, 2024
@wboereboom
Copy link
Contributor

Hey @compilersh ,

I'm sorry this happened.
This occurred due to a gap in our automation process that somehow slipped through the cracks.
We fixed and re-released the library in #337.

Kind Regards,
Wouter
Adyen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants