From df3eb197549e3568be8b4767eec31c5e8e8e6ad8 Mon Sep 17 00:00:00 2001 From: Rajat Jindal Date: Sun, 26 Mar 2023 13:01:46 +0530 Subject: [PATCH] prepare for v0.0.46 Signed-off-by: Rajat Jindal --- README.md | 6 +++--- action.yml | 2 +- examples/circleci.yml | 2 +- examples/travis.yml | 4 ++-- template.sh | 2 +- update-krew-index.sh | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index e366cda..8af58f0 100644 --- a/README.md +++ b/README.md @@ -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/krew-release-bot@v0.0.44 + uses: rajatjindal/krew-release-bot@v0.0.46 ``` Check out the `goreleaser` example below for details. @@ -47,7 +47,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Update new version in krew-index - uses: rajatjindal/krew-release-bot@v0.0.44 + uses: rajatjindal/krew-release-bot@v0.0.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. @@ -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 --template-file /tmp/template-file.yaml ``` diff --git a/action.yml b/action.yml index 8e9112e..320ae43 100644 --- a/action.yml +++ b/action.yml @@ -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" diff --git a/examples/circleci.yml b/examples/circleci.yml index 4b0e484..1670f77 100644 --- a/examples/circleci.yml +++ b/examples/circleci.yml @@ -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: | diff --git a/examples/travis.yml b/examples/travis.yml index 989a074..eb680e6 100644 --- a/examples/travis.yml +++ b/examples/travis.yml @@ -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 diff --git a/template.sh b/template.sh index e3f1cd6..9665cfc 100644 --- a/template.sh +++ b/template.sh @@ -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 \ No newline at end of file diff --git a/update-krew-index.sh b/update-krew-index.sh index d80eab9..5fa549d 100644 --- a/update-krew-index.sh +++ b/update-krew-index.sh @@ -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