diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02bc813..149ad30 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,11 +113,21 @@ jobs: - name: Checkout code for release job uses: actions/checkout@v3 - - name: Get Changes between Tags - id: changes - uses: simbo/changes-between-tags-action@v1 + - name: Build Changelog + id: build_changelog + uses: mikepenz/release-changelog-builder-action@v5 with: - tag-pattern: '^[0-9]+\.[0-9]+\.[0-9]+(-prerelease[0-9]*)?$' + mode: "COMMIT" # Use commit-based mode + configurationJson: | + { + "template": "# Changelog\n\n{{CHANGELOG}}", + "categories": [ + { "title": "## Features", "labels": ["feat", "feature"] }, + { "title": "## Fixes", "labels": ["fix", "bug"] }, + { "title": "## Other", "labels": [] } + ] + } + token: ${{ secrets.GITHUB_TOKEN }} # Use the GitHub token for authentication # Download artifacts from previous jobs. - name: Download Linux artifact