🔧 Lifecycle agent for kairos
Go to file
Itxaka febfa39632 bug: Fix version list (#1323)
* 🐛 Fix version list

First version in the list is the latest one.
Alos moves the check for same version above the current place, so it can
check before asking if you want to update to the same version

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

* 🌱 Rework versioning for upgrade

Use the semver lib to parse the versions into a proper collection where
it can be parsed and versions compared and sorted properly

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

* 🤖 lint

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>

---------

Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
2023-04-20 09:57:58 +02:00
cmd sparkles: Allow showing pre-releases on upgrade options (#1333) 2023-04-21 12:32:28 +02:00
internal sparkles: Allow showing pre-releases on upgrade options (#1333) 2023-04-21 12:32:28 +02:00
pkg sparkles: Allow showing pre-releases on upgrade options (#1333) 2023-04-21 12:32:28 +02:00
go.mod Update module github.com/Masterminds/semver/v3 to v3.2.1 (#1327) 2023-04-20 11:10:59 +00:00
go.sum bug: Fix version list (#1323) 2023-04-20 09:57:58 +02:00