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

Replace directive in go.mod causes package to not install correctly #522

Closed
Sirze01 opened this issue Aug 2, 2023 · 2 comments · Fixed by #524
Closed

Replace directive in go.mod causes package to not install correctly #522

Sirze01 opened this issue Aug 2, 2023 · 2 comments · Fixed by #524
Labels
bug Something isn't working

Comments

@Sirze01
Copy link

Sirze01 commented Aug 2, 2023

As of the v0.15.4 release the go install github.com/k0sproject/k0sctl@latest is no longer able to install the k0sctl binary due to the use of the replace directive in the go.mod file in L104.

@Sirze01
Copy link
Author

Sirze01 commented Aug 2, 2023

Some relevant resources on the issue:

@kke
Copy link
Contributor

kke commented Aug 3, 2023

The replace should be removable now as the fix has been merged earthboundkid/versioninfo#11

As a a workaround go install github.com/k0sproject/[email protected] works and there's no difference except when building using make.

@kke kke added the bug Something isn't working label Aug 3, 2023
@kke kke closed this as completed in #524 Aug 4, 2023
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

Successfully merging a pull request may close this issue.

2 participants