Skip to content

Commit

Permalink
update references to v0.0.42
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatjindal committed Mar 29, 2022
1 parent 0650a49 commit ba5e167
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To trigger `krew-release-bot` you can use a `github-action` which sends the even
- To setup the action, add the following snippet after the step that publishes the new release and assets:
```yaml
- name: Update new version in krew-index
uses: rajatjindal/[email protected].40
uses: rajatjindal/[email protected].42
```
Check out the `goreleaser` example below for details.

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected].40
uses: rajatjindal/[email protected].42
```

\*\* You can also customize the release assets names, platforms for which build is done using .goreleaser.yml file in root of your git repo.
Expand All @@ -64,7 +64,7 @@ jobs:
You can test the template file rendering before check-in to the repo by running following command

```bash
$ docker run -v /path/to/your/template-file.yaml:/tmp/template-file.yaml rajatjindal/krew-release-bot:v0.0.40 \
$ docker run -v /path/to/your/template-file.yaml:/tmp/template-file.yaml rajatjindal/krew-release-bot:v0.0.42 \
krew-release-bot template --tag <tag-name> --template-file /tmp/template-file.yaml
```

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "krew-release-bot"
description: "automatically opens PR for upstream krew-index repo when you publish new release of your awesome plugin"
runs:
using: "docker"
image: "docker://rajatjindal/krew-release-bot:v0.0.40"
image: "docker://rajatjindal/krew-release-bot:v0.0.42"
inputs:
workdir:
description: "Working directory, defaults to env.GITHUB_WORKSPACE"
Expand Down
2 changes: 1 addition & 1 deletion examples/circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
## remove this env when you are ready for real release

KREW_RELEASE_BOT_WEBHOOK_URL: https://krew-release-bot-dryrun.rajatjindal.com/github-action-webhook
KREW_RELEASE_BOT_VERSION: v0.0.40
KREW_RELEASE_BOT_VERSION: v0.0.42
steps:
- checkout
- run: |
Expand Down
4 changes: 2 additions & 2 deletions examples/travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
sudo: false

script:
- curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/v0.0.40/krew-release-bot_v0.0.40_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.40_linux_amd64.tar.gz
- curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/v0.0.42/krew-release-bot_v0.0.42_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.42_linux_amd64.tar.gz
- printenv && pwd && ls -ltr
- ./krew-release-bot action
2 changes: 1 addition & 1 deletion template.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash

VERSION=v0.0.40
VERSION=v0.0.42
docker run --rm -v `pwd`:/home/app rajatjindal/krew-release-bot:$VERSION krew-release-bot template
2 changes: 1 addition & 1 deletion update-krew-index.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export KREW_RELEASE_BOT_VERSION=v0.0.40
export KREW_RELEASE_BOT_VERSION=v0.0.42

curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/${KREW_RELEASE_BOT_VERSION}/krew-release-bot_${KREW_RELEASE_BOT_VERSION}_linux_amd64.tar.gz
tar -xvf krew-release-bot_${KREW_RELEASE_BOT_VERSION}_linux_amd64.tar.gz
Expand Down

0 comments on commit ba5e167

Please sign in to comment.