Skip to content

Commit

Permalink
prepare for v0.0.46
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Mar 26, 2023
1 parent 5991fda commit df3eb19
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].44
uses: rajatjindal/[email protected].46
```
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].44
uses: rajatjindal/[email protected].46
```

\*\* 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 ghcr.io/rajatjindal/krew-release-bot:v0.0.44 \
$ docker run -v /path/to/your/template-file.yaml:/tmp/template-file.yaml ghcr.io/rajatjindal/krew-release-bot:v0.0.46 \
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://ghcr.io/rajatjindal/krew-release-bot:v0.0.44"
image: "docker://ghcr.io/rajatjindal/krew-release-bot:v0.0.46"
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.44
KREW_RELEASE_BOT_VERSION: v0.0.46
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.44/krew-release-bot_v0.0.44_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.44_linux_amd64.tar.gz
- curl -LO https://github.com/rajatjindal/krew-release-bot/releases/download/v0.0.46/krew-release-bot_v0.0.46_linux_amd64.tar.gz
- tar -xvf krew-release-bot_v0.0.46_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.44
VERSION=v0.0.46
docker run --rm -v `pwd`:/home/app ghcr.io/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.44
export KREW_RELEASE_BOT_VERSION=v0.0.46

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 df3eb19

Please sign in to comment.