From dfa177910cfe913fd3af2b0289c92f54031dd8b3 Mon Sep 17 00:00:00 2001 From: candonov <25967713+candonov@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:05:09 -0800 Subject: [PATCH] Update docs --- website/docs/docs/getting-started/01-Installation.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/website/docs/docs/getting-started/01-Installation.md b/website/docs/docs/getting-started/01-Installation.md index c133b06e..3e66dff2 100644 --- a/website/docs/docs/getting-started/01-Installation.md +++ b/website/docs/docs/getting-started/01-Installation.md @@ -29,10 +29,9 @@ Once authenticated, install kro using the Helm chart: Fetch the latest release version from GitHub ```sh -export KRO_VERSION=$(curl -s \ +export KRO_VERSION=$(curl -sL \ https://api.github.com/repos/awslabs/kro/releases/latest | \ - grep '"tag_name":' | \ - sed -E 's/.*"([^"]+)".*/\1/' \ + jq -r '.tag_name | ltrimstr("v")' ) ``` Validate `KRO_VERSION` populated with a version