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

We are unable to upgrade from v0.4.4 due to semver check #189

Open
ctoestreich opened this issue May 8, 2023 · 1 comment
Open

We are unable to upgrade from v0.4.4 due to semver check #189

ctoestreich opened this issue May 8, 2023 · 1 comment
Labels
question Further information is requested wontfix This will not be worked on

Comments

@ctoestreich
Copy link

When running go get upgrade mod fails due to semver drift from v0 to v2023

➜  github-ops git:(main) ✗ go get -u github.com/opslevel/opslevel-go

go: errors parsing go.mod:
/Users/xxxxx/git/github/github-ops/go.mod:8:2: require github.com/opslevel/opslevel-go: version "v2023.5.5" invalid: should be v0 or v1, not v2023
@rocktavious
Copy link
Collaborator

Hey @ctoestreich - You'll need to use

go get -u github.com/opslevel/opslevel-go/v2023

You may also need to adjust your imports to refer to the v2023 version

import (
  "github.com/opslevel/opslevel-go/v2023"
)

@rocktavious rocktavious added question Further information is requested wontfix This will not be worked on labels Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants