Skip to content

Release v0.2.0 update changelog, readme, and rules #10

Release v0.2.0 update changelog, readme, and rules

Release v0.2.0 update changelog, readme, and rules #10

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
name: Create Release
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.25.0"
- name: Extract changelog
run: |
chmod +x scripts/extract-changelog.sh
./scripts/extract-changelog.sh ${{ github.ref_name }} > release_notes.md
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --release-notes=release_notes.md --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# PAT with repo scope for publishing to raypaste/homebrew-tap (optional)
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}