From ec9af71b3be7bca08d3515a19121856031ea8f38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serta=C3=A7=20=C3=96zercan?= <852750+sozercan@users.noreply.github.com> Date: Sat, 15 Apr 2023 21:25:56 -0700 Subject: [PATCH] release: publish krew and brew (#25) --- .github/workflows/release.yaml | 1 + .goreleaser.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index faa99bc..0918125 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,6 +7,7 @@ on: permissions: contents: write + pull-requests: write jobs: release: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0dd003c..08f9327 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -36,3 +36,30 @@ archives: checksum: name_template: "{{ .ProjectName }}_checksums.txt" algorithm: sha256 + +brews: + - tap: + owner: sozercan + name: kubectl-ai + branch: chore-{{.Tag}} + pull_request: + enabled: true + commit_author: + name: Sertac Ozercan + email: sozercan@gmail.com + description: "kubectl-ai is a kubectl plugin to generate and apply Kubernetes manifests using OpenAI GPT." + caveats: "This plugin requires an OpenAI key." + +krews: + - index: + owner: sozercan + name: kubectl-ai + branch: chore-{{.Tag}} + pull_request: + enabled: true + commit_author: + name: Sertac Ozercan + email: sozercan@gmail.com + description: "kubectl-ai is a kubectl plugin to generate and apply Kubernetes manifests using OpenAI GPT." + short_description: "Generate and apply manifests using OpenAI GPT." + caveats: "This plugin requires an OpenAI key." \ No newline at end of file