Skip to content

[Telemetry][v1.2.2] Update KUBERAY_VERSION (#2417) #8

[Telemetry][v1.2.2] Update KUBERAY_VERSION (#2417)

[Telemetry][v1.2.2] Update KUBERAY_VERSION (#2417) #8

Workflow file for this run

name: release
on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
jobs:
release-kubectl-plugin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: 'goreleaser'
version: latest
args: release --clean
workdir: 'kubectl-plugin'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# TODO(MortalHappiness): This won't work now. The first version of plugin has to be submitted manually by use to the krew-index repo, so I'll submit a PR to the krew-index repo once a release candidate is created.
- name: Update new version in krew-index
uses: rajatjindal/[email protected]