chore(release): prepare for v2.0.1 #27
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }}" |