[#3917] add instructions to upgrade kn (#4010)

For Homebrew users, they may run into issues upgrading due to a branch
rename from `master` to `main`.

Signed-off-by: Sameer Vohra <vsameer@vmware.com>
This commit is contained in:
Sameer Vohra 2021-07-16 14:04:09 -05:00 committed by GitHub
parent cf3dc41151
commit 5469d8e5cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -48,3 +48,15 @@
!!! note
Running `kn` from a container image does not place the binary on a permanent path. This procedure must be repeated each time you want to use `kn`.
??? bug "Having issues upgrading `kn`?"
If you are having issues upgrading using Homebrew, it may be due to a change to a `CLI` repository, where `master` branch was renamed to `main`. If so, run
```
brew tap --repair
brew update
brew upgrade kn
```
to resolve the issue.