Skip to content

Commit

Permalink
Updated version pattern matching in quick-start
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joekr committed Feb 15, 2022
1 parent 7985c24 commit 082c2c6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/book/src/user/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
```
Expand All @@ -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.
Expand Down

0 comments on commit 082c2c6

Please sign in to comment.