Skip to content

Commit

Permalink
Add krew installation method (#27)
Browse files Browse the repository at this point in the history
* Add krew installation method

* Activate krew release automation
  • Loading branch information
timebertt authored May 29, 2024
1 parent 990b89f commit 76c2c7a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,4 @@ jobs:
name: release
path: dist/*
- uses: rajatjindal/krew-release-bot@v0.0.46
# Skip release bot step on initial plugin release in favor of manual addition.
# TODO(timebertt): drop the condition after releasing v0.1.0
if: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref != 'refs/tags/v0.1.0' }}
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ It gives more output than `kubectl rollout history` and is easier to use than `k

## Installation

Using [krew](https://krew.sigs.k8s.io/) (recommended):

```bash
kubectl krew install revisions
```

Using go:

```bash
go install github.com/timebertt/kubectl-revisions@latest
```
Expand Down

0 comments on commit 76c2c7a

Please sign in to comment.