Skip to content

Commit

Permalink
Update VERSION_K8S to handle any k3s revision
Browse files Browse the repository at this point in the history
Co-authored-by: Brad Davidson <brad@oatmail.org>
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola and brandond committed Aug 22, 2024
1 parent f5c6472 commit ebbb109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebbb109

Please sign in to comment.