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

Fix k0s version sorting #173

Merged
merged 5 commits into from
Jul 26, 2021
Merged

Fix k0s version sorting #173

merged 5 commits into from
Jul 26, 2021

Conversation

kke
Copy link
Contributor

@kke kke commented Jul 26, 2021

Changes k0s version sorting to use alphabetical buildtag sorting if the versions are otherwise equal.

Fixes #166

Before:

$ k0sctl version --k0s
1.21.2+k0s.0

After:

$ k0sctl version --k0s
1.21.2+k0s.1

@kke kke added the bug Something isn't working label Jul 26, 2021
@kke kke merged commit ba83e7b into main Jul 26, 2021
@kke kke deleted the k0s-version-sorting branch July 26, 2021 10:39
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 this pull request may close these issues.

k0sctl defaults to old version (k0s v1.21.2+k0s.0) if the version is not specified in the config file
2 participants