Skip to content

docs(changelog): no longer maintained #3

docs(changelog): no longer maintained

docs(changelog): no longer maintained #3

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

`concurrency` is not a valid event name
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
# cancel previous runs if new commits are pushed to the PR, but run for each commit on master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
release:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # necessary for the goreleaser changelog gen
- name: Release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: v1.19.2
args: --clean
env:
GORELEASER_CURRENT_TAG: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}