Skip to content

SDK versioning number incorrect - unable to target latest Go package version #449

@SamuelDev

Description

@SamuelDev

Preflight checklist

Ory Network Project

No response

Describe the bug

#447 The PR that generated version 2.5.0 was closed and the bot directly committed the file for the next release with the wrong versioning number.

https://github.com/ory/sdk/blob/master/spec/hydra/v25.4.0.json was created and merged making it impossible to version 2.5.0 in Go due to the semantics of Go packages.

Reproducing the bug

  1. Create new Go project
  2. Attempt to add the Hydra SDK package with get github.com/ory/hydra-client-go/v2@v25.4.0
  3. Observe failure

You can also run go list -m -versions -mod=mod github.com/ory/hydra-client-go/v2 and observe no new package being listed past 2.4.0-alpha.1

Relevant log output

go get github.com/ory/hydra-client-go/v2@v25.4.0

go: github.com/ory/hydra-client-go/v2@v25.4.0
: invalid version: module path includes a major version suffix, so major version must match

Relevant configuration

Version

2.3.0

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions