Skip to content

Merge pull request #97 from TejaBeta/version-upgrade-1 #36

Merge pull request #97 from TejaBeta/version-upgrade-1

Merge pull request #97 from TejaBeta/version-upgrade-1 #36

Workflow file for this run

name: release
on:
push:
tags:
- "*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.1
- name: git cleanup
run: git clean -f
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected]