Skip to content

Commit

Permalink
💚 ci: Try another way to generate changelog
Browse files Browse the repository at this point in the history
Signed-off-by: kokodev <[email protected]>
  • Loading branch information
kokofixcomputers committed Nov 30, 2024
1 parent 11777cd commit 23e1673
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23e1673

Please sign in to comment.