Skip to content

chore(release): prepare for v2.0.1 #27

chore(release): prepare for v2.0.1

chore(release): prepare for v2.0.1 #27

Workflow file for this run

name: Create a Release
on:
# Runs on pushes targeting the default branch
push:
tags:
- "v*.*.*"
# Sets permissions of the GITHUB_TOKEN to allow creating a release
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Generate a changelog
uses: orhun/git-cliff-action@v4
id: git-cliff
with:
config: cliff.toml
args: -vv -l -s all
env:
OUTPUT: CHANGES.md
- name: Release
uses: softprops/action-gh-release@v2
with:
body: "${{ steps.git-cliff.outputs.content }}"