Skip to content

Commit

Permalink
update doc to use version v0.0.38
Browse files Browse the repository at this point in the history
  • Loading branch information
rajatjindal committed Apr 29, 2020
1 parent 3f998f9 commit 3320c0b
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 @@ -10,7 +10,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].37
uses: rajatjindal/[email protected].38
```
Check out the `goreleaser` example below for details.

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

** 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 @@ -58,7 +58,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.37 \
$ docker run -v /path/to/your/template-file.yaml:/tmp/template-file.yaml rajatjindal/krew-release-bot:v0.0.38 \
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.37'
image: 'docker://rajatjindal/krew-release-bot:v0.0.38'
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 @@ -10,7 +10,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.37
KREW_RELEASE_BOT_VERSION: v0.0.38
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.37/krew-release-bot_v0.0.37_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.37_linux_amd64.tar.gz
- curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/v0.0.38/krew-release-bot_v0.0.38_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.38_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.32-1
VERSION=v0.0.38
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.37
export KREW_RELEASE_BOT_VERSION=v0.0.38

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 3320c0b

Please sign in to comment.