From 082c2c66392dc5389741156bd0c8a68b897a9ca0 Mon Sep 17 00:00:00 2001 From: Joe Kratzat Date: Tue, 15 Feb 2022 11:03:50 -0500 Subject: [PATCH] Updated version pattern matching in quick-start The old `1.0.x` wasn't matching the new version. Instead of making the change now for each new minor release this will match all minor and patch releases. --- docs/book/src/user/quick-start.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/book/src/user/quick-start.md b/docs/book/src/user/quick-start.md index 80166f89f7dc..23cbf2d3c832 100644 --- a/docs/book/src/user/quick-start.md +++ b/docs/book/src/user/quick-start.md @@ -101,7 +101,10 @@ The clusterctl CLI tool handles the lifecycle of a Cluster API management cluste #### Install clusterctl binary with curl on linux Download the latest release; on linux, type: ``` -curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-linux-amd64" version:"1.0.x"}} -o clusterctl +curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-linux-amd64" version:"1.x" +prereleases:"true" +}} -o +clusterctl ``` Make the clusterctl binary executable. ``` @@ -122,12 +125,12 @@ clusterctl version #### Install clusterctl binary with curl on macOS Download the latest release; on macOS, type: ``` -curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-darwin-amd64" version:"1.0.x"}} -o clusterctl +curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-darwin-amd64" version:"1.x"}} -o clusterctl ``` Or if your Mac has an M1 CPU ("Apple Silicon"): ``` -curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-darwin-arm64" version:"1.0.x"}} -o clusterctl +curl -L {{#releaselink gomodule:"sigs.k8s.io/cluster-api" asset:"clusterctl-darwin-arm64" version:"1.x"}} -o clusterctl ``` Make the clusterctl binary executable.