ci added for krew and goreleaser
@@ -41,6 +41,22 @@ deploy:
- provider: script
skip_cleanup: true
api_key: $GITHUB_OAUTH_TOKEN
- script: curl -sL https://git.io/goreleaser | bash
+ script:
+ - curl -sL https://git.io/goreleaser | bash
+ - 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
on:
tags: true
+
+env:
+ - KREW_RELEASE_BOT_WEBHOOK_URL=https://krew-release-bot-dryrun.rajatjindal.com/github-action-webhook
+
+sudo: false
+
+script:
+ - 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
\ No newline at end of file
