Skip to content

Add release automation #1

Add release automation

Add release automation #1

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
release:
permissions:
packages: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Build and release
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}