From d174db3b053cb6e086cc3eb6b6df8767f0c6f2d4 Mon Sep 17 00:00:00 2001 From: lemonpole Date: Tue, 26 Nov 2024 18:39:47 -0500 Subject: [PATCH] ci: fix pipeline --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 394c64f..dec6f41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,11 @@ jobs: - run: npm ci - run: mkdir plugins && cp -r generated/* plugins/ && cp -r config/* plugins/ - run: zip -rq plugins-${{ github.ref_name }}.zip plugins/ + - run: npx -y conventional-changelog-cli -p conventionalcommits > CHANGELOG.md - id: create_release - run: gh release create ${{ github.ref_name }} --title "${{ github.ref_name }}" + run: > + gh release create ${{ github.ref_name }} + --title "${{ github.ref_name }}" + --notes-file CHANGELOG.md - if: success() && steps.create_release.outcome == 'success' run: gh release upload ${{ github.ref_name }} plugins-*.zip --clobber