From aadd6d0dcd9e208541cb60c2be7fb76334e2300e Mon Sep 17 00:00:00 2001 From: Michael Fritch Date: Thu, 1 Aug 2024 23:08:55 -0600 Subject: [PATCH] updatecli: use `semver` versionfilter Version bump PRs should use the semver instead of the latest tag Issue: https://github.com/rancher/rke2/issues/6402 Signed-off-by: Michael Fritch --- updatecli/updatecli.d/updatecalico.yaml | 3 +-- updatecli/updatecli.d/updatek3sroot.yaml | 2 +- updatecli/updatecli.d/updateplugins.yaml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/updatecli/updatecli.d/updatecalico.yaml b/updatecli/updatecli.d/updatecalico.yaml index a548219..c1aaa87 100644 --- a/updatecli/updatecli.d/updatecalico.yaml +++ b/updatecli/updatecli.d/updatecalico.yaml @@ -13,9 +13,8 @@ sources: release: true draft: false prerelease: false - latest: true versionfilter: - kind: latest + kind: semver targets: dockerfile: diff --git a/updatecli/updatecli.d/updatek3sroot.yaml b/updatecli/updatecli.d/updatek3sroot.yaml index af2b541..a6acd69 100644 --- a/updatecli/updatecli.d/updatek3sroot.yaml +++ b/updatecli/updatecli.d/updatek3sroot.yaml @@ -14,7 +14,7 @@ sources: draft: false prerelease: false versionfilter: - kind: latest + kind: semver targets: dockerfile: diff --git a/updatecli/updatecli.d/updateplugins.yaml b/updatecli/updatecli.d/updateplugins.yaml index 08fcf80..548f403 100644 --- a/updatecli/updatecli.d/updateplugins.yaml +++ b/updatecli/updatecli.d/updateplugins.yaml @@ -14,7 +14,7 @@ sources: draft: false prerelease: false versionfilter: - kind: latest + kind: semver targets: dockerfile: