From 053d96547a4b51430f49639fd5f927b4af5bb8a3 Mon Sep 17 00:00:00 2001 From: MRColor Date: Thu, 19 Sep 2024 15:57:28 +0200 Subject: [PATCH] chore(release workflow): Only generate changelog for the last tag --- .github/workflows/release-on-tag.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index c373ffc..2c4f09b 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -74,7 +74,6 @@ jobs: run: | tar -czvf "Money4Band-${{ matrix.os }}-${{ matrix.architecture }}-${{ github.ref_name }}.tar.gz" dist/Money4Band - - name: Upload build artifacts uses: actions/upload-artifact@v4 with: @@ -104,7 +103,8 @@ jobs: uses: heinrichreimer/action-github-changelog-generator@v2.3 with: token: ${{ secrets.GITHUB_TOKEN }} - output: CHANGELOG.md + output: CHANGELOG.md + onlyLastTag: true # Only generate changelog for the last tag - name: Create a GitHub release uses: softprops/action-gh-release@v2