From 844520db060bfdfece98ac805fab9f30e6ffbb4a Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 5 Apr 2023 18:11:18 +0200 Subject: [PATCH] Fix update detection Signed-off-by: Knut Ahlers --- update-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-version.sh b/update-version.sh index b0d20ff..58d38b4 100755 --- a/update-version.sh +++ b/update-version.sh @@ -10,7 +10,7 @@ git reset --hard origin/master ### ---- ### version=$(curl -s "https://lv.luzifer.io/v1/catalog/kubernetes/latest/version") -grep -q "KUBECTL_VERSION=${version}$" Dockerfile && exit 0 || echo "Update required" +grep -q "KUBECTL_VERSION=v${version}$" Dockerfile && exit 0 || echo "Update required" sed -Ei \ -e "s/KUBECTL_VERSION=v[0-9.]+/KUBECTL_VERSION=v${version}/" \