mirror of
https://github.com/k3s-io/k3s.git
synced 2026-05-28 04:34:19 -04:00
Update VERSION_K8S to handle any k3s revision
Co-authored-by: Brad Davidson <brad@oatmail.org> Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
f5c6472b16
commit
ebbb109840
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ if [ -z "$VERSION_CRICTL" ]; then
|
|||
fi
|
||||
|
||||
VERSION_K8S_K3S=$(get-module-version k8s.io/kubernetes)
|
||||
VERSION_K8S=${VERSION_K8S_K3S%"-k3s2"}
|
||||
VERSION_K8S=${VERSION_K8S_K3S%-k3s*}
|
||||
if [ -z "$VERSION_K8S" ]; then
|
||||
VERSION_K8S="v0.0.0"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue