Skip to content

chore: changelog for v1.1.3 #54

chore: changelog for v1.1.3

chore: changelog for v1.1.3 #54

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run tests
run: go test ./...
- name: Extract release notes
id: notes
run: |
notes=$(bash scripts/release-notes.sh)
{
echo "RELEASE_HEADER<<EOF"
echo "$notes"
echo "EOF"
} >> "$GITHUB_ENV"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v7
with:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}