karga 0.4.0

A small, flexible load-testing framework for Rust
Documentation
name: Release

on:
  push:
    tags:
      - "v*.*.*"

jobs:
  changelog:
    name: Generate and publish changelog
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - name: Checkout
        uses: actions/checkout@v5
        with:
          fetch-depth: 0

      - name: Generate a changelog
        uses: orhun/git-cliff-action@v4
        id: git-cliff
        with:
          args: -v --latest --strip header
        env:
          OUTPUT: CHANGES.md
          GITHUB_REPO: ${{ github.repository }}

      - name: Polish changelog
        shell: bash
        run: sed -i '1,2d' CHANGES.md

      - name: Upload the changelog
        uses: ncipollo/release-action@v1
        with:
          # draft: true
          allowUpdates: true
          bodyFile: CHANGES.md