Skip to content

chore(release): bump plugin version to 0.3.1 #16

chore(release): bump plugin version to 0.3.1

chore(release): bump plugin version to 0.3.1 #16

Workflow file for this run

name: release
# Triggered on pushing a vX.Y.Z tag.
#
# Required repository secrets:
# HOMEBREW_TAP_TOKEN - GitHub Personal Access Token with `repo` scope on
# the mrcat71/homebrew-tap repository
# (GITHUB_TOKEN is provided automatically by GitHub Actions and is enough
# for creating the Release in this repo.)
on:
push:
tags:
- "v*"
permissions:
contents: write # create the GitHub Release in this repo
jobs:
release:
name: goreleaser
runs-on: macos-latest # darwin builds run natively here; could be ubuntu-latest with CGO_ENABLED=0
steps:
- name: Check out
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0 # goreleaser needs full history for changelog
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
# Keep in sync with the `go` directive in go.mod. setup-go pins
# GOTOOLCHAIN=local, so a mismatch here blocks goreleaser's
# `go mod tidy` hook with "go.mod requires go >= 1.25.0".
go-version: "1.25"
check-latest: true
- name: Run goreleaser
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}